sleep
Pause the current thread for the specified time.
func sleep (
uint msec
)
uint msec
)
Parameters
msec | The time for pausing the thread in milliseconds. |
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Related links | Source |