* cygheap.h (init_cygheap::_gtod): New hires_ms element.
* hires.h (hires_ms::minperiod): Remove static designation. (hires::began_period): New field. * signal.cc: Include headers required for cygheap.h now that gtod lives in the cygheap. * timer.c: Ditto. * times.cc (gtod): Delete variable. (gtod::minperiod): Ditto. (gtod::began_period): Define. (hires_ms::prime): Add more debugging output. Call timeBeginPeriod only when !began_period.
This commit is contained in:
@@ -8,6 +8,8 @@ This software is a copyrighted work licensed under the terms of the
|
||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||
details. */
|
||||
|
||||
#include "hires.h"
|
||||
|
||||
#undef cfree
|
||||
|
||||
enum cygheap_types
|
||||
@@ -298,6 +300,7 @@ struct init_cygheap
|
||||
pid_t pid; /* my pid */
|
||||
HANDLE pid_handle; /* handle for my pid */
|
||||
hook_chain hooks;
|
||||
hires_ms _gtod;
|
||||
void close_ctty ();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user