summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/timer.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-11-04 20:45:56 +0000
committerChristopher Faylor <me@cgf.cx>2005-11-04 20:45:56 +0000
commit72319550c16dee661534dd3002de2101b6a08dd7 (patch)
treee25a597b0bb5379578ed9fc885fbd5ebe329b898 /winsup/cygwin/timer.cc
parentf359a29fc84fdb1eca5b46f0a274e6fc8bdbc2ee (diff)
downloadcygnal-72319550c16dee661534dd3002de2101b6a08dd7.tar.gz
cygnal-72319550c16dee661534dd3002de2101b6a08dd7.tar.bz2
cygnal-72319550c16dee661534dd3002de2101b6a08dd7.zip
* 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.
Diffstat (limited to 'winsup/cygwin/timer.cc')
-rw-r--r--winsup/cygwin/timer.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/timer.cc b/winsup/cygwin/timer.cc
index c6dc2754b..e93653491 100644
--- a/winsup/cygwin/timer.cc
+++ b/winsup/cygwin/timer.cc
@@ -18,6 +18,10 @@ details. */
#include "cygtls.h"
#include "sigproc.h"
#include "sync.h"
+#include "path.h"
+#include "fhandler.h"
+#include "dtable.h"
+#include "cygheap.h"
#define TT_MAGIC 0x513e4a1c
struct timer_tracker