NO

Author Topic: _sleep  (Read 5434 times)

Kempelen

  • Guest
_sleep
« on: April 05, 2008, 01:31:42 PM »
_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

severach

  • Guest
Re: _sleep
« Reply #1 on: April 06, 2008, 07:39:07 PM »
Look up Sleep() on MSDN.

keremg

  • Guest
Re: _sleep
« Reply #2 on: April 30, 2008, 05:19:44 PM »
Look up Sleep() 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