Is there a Monotonic WaitableTimer available in C#, or even in Win32 that I could wrap?
Currently I'm using the Win32 CreateWaitableTimer
, but if the system clock gets modified it will skew the timer values and cause things to happen before or after they are scheduled to occur.
The only Monotonic clock source I've found available in Windows XP is GetTickCount()
, but I was hoping to not have to write my own timer using this.