src/winsup/cygwin ChangeLog hires.h ...
Mon Aug 9 16:47:00 GMT 2010

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2010-08-09 11:47:48

Modified files:
	winsup/cygwin  : ChangeLog hires.h 
	winsup/cygwin/include/cygwin: version.h 

Log message:
	Implement POSIX.1-2004 Monotonic Clock.
	* hires.h: Change hires_us to hires_ns, with nanosecond resolution.
	(hires_ns::primed_ft): Remove.
	(hires_ns::nsecs): New prototype.
	(hires_ns::usecs): Rewrite in terms of nsecs.
	(hires_ns::resolution): New prototype.
	* Change hires_us to hires_ns.
	(ntod): Declare.
	(systime): Remove.
	(hires_ns::prime): Increase resolution to nanoseconds.
	(hires_ns::nsecs): Rename usecs to nsecs to reflect increased resolution.
	Remove justdelta argument.
	(hires_ns::resolution): New function.
	(clock_gettime): Accept CLOCK_MONOTONIC.
	Use EINVAL instead of ENOSYS per POSIX.1-2004.
	(clock_getres): Ditto.
	(clock_setres): Use EINVAL instead of ENOSYS to conform with other
	* (strace::microseconds): Adjust for hires_ns.
	* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.


More information about the Cygwin-cvs mailing list