- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for initHighResTimer (0.3 sec)
-
src/runtime/os_windows.go
_TIMER_MODIFY_STATE = 0x0002 ) return stdcall4(_CreateWaitableTimerExW, 0, 0, _CREATE_WAITABLE_TIMER_HIGH_RESOLUTION, _SYNCHRONIZE|_TIMER_QUERY_STATE|_TIMER_MODIFY_STATE) } func initHighResTimer() { h := createHighResTimer() if h != 0 { haveHighResTimer = true haveHighResSleep = _NtCreateWaitCompletionPacket != nil stdcall1(_CloseHandle, h) } else { // Only load winmm.dll if we need it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0)