先看看Delphi的帮助吧,关于TThread的
Creates an instance of a thread object.
Delphi syntax:
constructor Create(CreateSuspended: Boolean);
Description
Call Create to create a thread in an application. If CreateSuspended is False, Execute is called immediately. If CreateSuspended is True, Execute won抰 be called until after Resume is called.
Restarts the execution of a suspended thread.
Delphi syntax:
procedure Resume;
C++ syntax:
void __fastcall Resume(void);
Description
Call Resume to cause a suspended thread to start running again. Calls to Suspend can be nested;
Resume must be called the same number of times Suspend was called before the thread will resume execution.
Pauses a running thread.
Delphi syntax:
procedure Suspend;
C++ syntax:
void __fastcall Suspend(void);
Description
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.