[Xorp-cvs] XORP cvs commit: xorp/libxorp
Bruce Simpson
bms@icir.org
Thu, 4 Aug 2005 10:20:41 GMT
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: bms@xorpc.icir.org 2005-08-04 10:20:41 UTC
XORP CVS repository
Modified files:
libxorp timer.cc timer.hh
Log message:
Diff reduction with XORP/Win32.
Windows specific changes only.
In the constructor for TimerList, instantiate a Win32 Waitable Timer
object which can be used for one-off 100ns resolution timing.
Use SleepEx() for 1ms granularity waits; use the waitable timer and
WaitForSingleObjectEx() for higher granularity waits.
Update comments.
Revision Changes Path
1.24 +28 -2; commitid: 182b542f1ebea7ea6; xorp/libxorp/timer.cc
1.26 +5 -1; commitid: 182b542f1ebea7ea6; xorp/libxorp/timer.hh