TThreadPriority type
Return to Introduction 
TThreadPriority defines the possible values for the Priority property of the TThread and TacThread components, as defined in the following table. Windows schedules threads based on a priority scale; the Priority property lets you adjust a thread's priority higher or lower on the scale.

Declaration

type
  TThreadPriority = (tpIdle, tpLowest, tpLower, tpNormal, tpHigher, tpHighest, tpTimeCritical);


Values
tpIdleThe thread executes only when the system is idle-Windows won't interrupt other threads to execute a thread with tpIdle priority.  
tpLowestThe thread's priority is two points below normal.  
tpLowerThe thread's priority is one point below normal.  
tpNormalThe thread has normal priority.  
tpHigherThe thread's priority is one point above normal.  
tpHighestThe thread's priority is two points above normal.  
tpTimeCriticalThe thread gets highest priority.