Sleep¶
Functions
-
void sfSleep(sfTime duration)
Make the current thread sleep for a given duration.
sfSleep is the best way to block a program or one of its threads, as it doesn’t consume any CPU power.
- Parameters:
duration – Time to sleep
Functions
Make the current thread sleep for a given duration.
sfSleep is the best way to block a program or one of its threads, as it doesn’t consume any CPU power.
duration – Time to sleep