diff options
author | Christopher Faylor <me@cgf.cx> | 2005-11-04 20:45:56 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-11-04 20:45:56 +0000 |
commit | 72319550c16dee661534dd3002de2101b6a08dd7 (patch) | |
tree | e25a597b0bb5379578ed9fc885fbd5ebe329b898 /winsup/cygwin/cygheap.h | |
parent | f359a29fc84fdb1eca5b46f0a274e6fc8bdbc2ee (diff) | |
download | cygnal-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/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index c151cd007..e9e000f70 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -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 (); }; |