Value |
Priority |
tpIdle |
The thread executes only when the system is idle. Windows won't interrupt the other threads to execute a thread with tpIdle priority. |
tpLowest |
The thread's priority is two points below normal. |
tpLower |
The thread's priority is one point below normal. |
tpNormal |
The thread has normal priority. |
tpHigher |
The thread's priority is one point above normal. |
tpHighest |
The thread's priority is two points above normal. |
tpTimeCritical |
The thread gets highest priority. |
constructor TMyThread.Create(CreateSuspended: Boolean); begin inherited Create(CreateSuspended); Priority := tpIdle; end;
TMyThread::TMyThread( bool CreateSuspended ) : TThread( CreateSuspended ) {
Priority = tpIdle;
}
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|