Indy 9
|
TIdThreadPriority = TThreadPriority;
On the Windows platform, TIdThreadPriority is defined as a TThreadPriority type, and represents the values for the Priority property of a thread component. Windows schedules CPU cycles to each thread based on a priority scale; the Priority property adjusts a thread's priority higher or lower on the scale.
For the Linux platform, TIdThreadPriority is defined as an enumeration. Values Meaning ------ ------- tpIdle The thread executes only when the system is idle. Windows won't interrupt 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.