parent
7c89b38a2d
commit
89bdd9c3c9
|
@ -25,7 +25,7 @@ void usleep(__int64 usec)
|
||||||
HANDLE timer;
|
HANDLE timer;
|
||||||
LARGE_INTEGER ft;
|
LARGE_INTEGER ft;
|
||||||
|
|
||||||
// Convert to 100 nanosecond interval, negative value indicates relative time
|
// Convert to 100 nanosecond interval, negative value indicates relative time
|
||||||
ft.QuadPart = -(10*usec);
|
ft.QuadPart = -(10*usec);
|
||||||
|
|
||||||
timer = CreateWaitableTimer(NULL, TRUE, NULL);
|
timer = CreateWaitableTimer(NULL, TRUE, NULL);
|
||||||
|
|
Loading…
Reference in New Issue