* 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:
Christopher Faylor
2005-11-04 20:45:56 +00:00
parent f359a29fc8
commit 72319550c1
6 changed files with 40 additions and 8 deletions

View File

@@ -21,6 +21,10 @@ details. */
#include "hires.h"
#include "security.h"
#include "cygtls.h"
#include "path.h"
#include "fhandler.h"
#include "dtable.h"
#include "cygheap.h"
int sigcatchers; /* FIXME: Not thread safe. */