Prevent thread execution.
Source position: classesh.inc line 2371
public class procedure TThread.Sleep( |
aMilliseconds: Cardinal |
); |
Sleep blocks the execution of the thread for aMilliseconds. This function simply calls sysutils.sleep
In difference with TThread.SpinWait, a thread switch may occur during the sleep.
|
Suspend execution of a program for a certain time. |
|
|
Prevent thread execution in a spin-wait loop. |