Sleep less than a time slice

Sleep less than a time slice

Post by RGV0bGV » Fri, 13 Feb 2004 19:46:07


Hi all
is there a way to sleep less than a time slice ( 10/15 ms) in a thread, but more than Sleep( 0)
Detlef
 
 
 

Sleep less than a time slice

Post by Jeff » Fri, 13 Feb 2004 22:41:39

Detlef,



but more than Sleep( 0)?

See timeBeginPeriod to get down to 1 ms sleep times.

Jeff F

 
 
 

Sleep less than a time slice

Post by SEATEC: De » Sat, 14 Feb 2004 17:37:56

Hi all,
I found the MultiMedia Timer. This works fine down to a resolution of 1 ms.
If somebody looks for them, search for
timeSetEvent, beginPeriod ....

Thank you all for your time!
Detlef

"Detlef" < XXXX@XXXXX.COM > schrieb im Newsbeitrag

but more than Sleep( 0)?