_sleep function cause the current thread to stop execution for seconds . Others compilers uses milliseconds instead. Is there any way to sleep for milliseconds in PellesC
Thx
FS
Look up Sleep() (http://msdn2.microsoft.com/en-us/library/ms686298(VS.85).aspx) on MSDN.
Quote from: severach on April 06, 2008, 07:39:07 PM
Look up Sleep() (http://msdn2.microsoft.com/en-us/library/ms686298(VS.85).aspx) on MSDN.
He should also have a look at synchronization primitives and other functions like:
"SleepEx(...)"
"SuspendThread(...)"
maybe wait functions will help too like:
"WaitForSingleObject(...)"
and related,...
Regards
Kerem