[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Abstract Thread class.
|
Terminates the thread. |
|
|
Execute method. Should be overridden in a descendent thread. |
|
|
Synchronizes the thread by executing the method in the main thread. |
|
|
Return value of the thread when it stops executing. |
|
|
Indicates whether the Terminatemethod was called by the user. |
|
|
||
|
||
|
||
|
Creates a new thread. |
|
|
Destroys the thread object. |
|
|
Resumes the thread's execution. |
|
|
Suspends the thread's execution. |
|
|
Signals the thread it should terminate. |
|
|
Waits for the thread to terminate and returns the exit status. |
|
|
Indicates whether the thread should free itself when it stops executing. |
|
|
Returns the thread handle. |
|
|
Returns the thread priority. |
|
|
Indicates whether the thread is suspended. |
|
|
Returns the thread ID. |
|
|
Event called when the thread terminates. |
|
|
Abstract Thread class. |
|
| | ||
The TThread class encapsulates the native thread support of the operating system. To create a thread, declare a descendent of the TThread object and override the Execute method. In this method, the thhread's code should be executed. To run a thread, create an instance of the tthread descendent, and call it's execute method.
|
Thread error exception. |
|
|
Execute method. Should be overridden in a descendent thread. |