Internet Direct (Indy) Version 9.0.2 Beta
|
procedure Stop; virtual;
When the Stop method is called, it immediately returns, but the thread may have to wait for completion of thread of execution before it can be suspended or terminated. In contrast, if the TerminateAndWaitFor method is called instead, it returns only after the thread has left the main thread of execution.
If you want to immediately suspend the thread, you should set Suspended to true.