* cygheap.h (init_cygheap::_gtod): Remove.
* cygwin.din: Export clock_getres and clock_setres. * hires.h (hires_ms::minperiod): Delete declaration. (hires_ms::began_period): Ditto. (hires_ms::prime): Make void. (hires_ms::resolution): Just define here. (hires_ms::usecs): Remove unneeded argument. (gtod): Redeclare as a variable. * timer.cc (timer_thread): Eliminate argument to gtod.usecs(). (timer_tracker::gettime): Ditto. (timer_tracker::settime): Ditto. * times.cc (gettimeofday): Ditto. (hires_ms::began_period): Delete declaration. (hires_us::prime): Remove debugging. (hires_ms::prime): Make void. Eliminate period stuff. (hires_ms::usecs): Eliminate argument to gtod.usecs(). (hires_ms::resolution): New function. (clock_getres): Ditto. (clock_setres): Ditto. * version.h: Bump API version to 143. * include/cygwin/time.h: New file.
This commit is contained in:
@@ -254,6 +254,8 @@ _clearerr = clearerr NOSIGFE
|
||||
clock SIGFE
|
||||
_clock = clock SIGFE
|
||||
clock_gettime SIGFE
|
||||
clock_getres SIGFE
|
||||
clock_setres SIGFE
|
||||
close SIGFE
|
||||
_close = close SIGFE
|
||||
closedir SIGFE
|
||||
|
Reference in New Issue
Block a user