thread Suspend method
Return to Introduction  Previous page  Next page
Applies to
acThread component.  

Declaration
procedure Suspend;  

Description
The Suspend method pauses a running thread.  
 
Call Suspend to temporarily halt execution of the thread. To resume execution after a call to Suspend, call Resume (or set Suspended property to True). Calls to Suspend can be nested; Resume must be called the same number of times Suspend was called before the thread will resume execution.  

See also
Suspended property;  
Execute, Resume, Synchronize and Terminate methods.