src/winsup/cygwin ChangeLog hi ...
Sun Sep 7 05:18:00 GMT 2003

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2003-09-07 05:18:01

Modified files:
	winsup/cygwin  : ChangeLog hires.h 

Log message:
	* (nanosleep): Improve test for valid values.  Round delay up to
	resolution.  Fix test for negative remainder.  Use timeGetTime through gtod.
	(sleep): Round up return value.  Christopher Faylor <>
	* hires.h (HIRES_DELAY_MAX): Define.
	(hires_ms::minperiod): Declare static.
	(hires_ms::resolution): New.
	(hires_ms::dmsecs): New.
	(hires_ms::prime): Return UINT.
	(gtod): Declare.
	* (hires_ms::prime): Always calculate minperiod and set it to 1 in
	case of failure.  Return minperiod.
	(hires_ms::resolution): Define.
	(hires_ms::~hires_ms): Delete.
	(hires_ms::usecs): Check minperiod to prime.
	(gtod) Define as global.


More information about the Cygwin-cvs mailing list