RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TThread.Suspend Method

Pauses a running thread.

Pascal
procedure Suspend;
C++
__fastcall Suspend();

Call Suspend to temporarily halt execution of the thread. To resume execution after a call to Suspend, call Resume. Calls to Suspend can be nested; Resume must be called the same number of times Suspend was called before the thread will resume execution. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!