RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.TThreadPriority Enumeration

TThreadPriority indicates the scheduling priority of a thread object on Windows.

Pascal
TThreadPriority = (
  tpIdle,
  tpLowest,
  tpLower,
  tpNormal,
  tpHigher,
  tpHighest,
  tpTimeCritical
);
C++
enum TThreadPriority {
  tpIdle,
  tpLowest,
  tpLower,
  tpNormal,
  tpHigher,
  tpHighest,
  tpTimeCritical
};

Classes

The following are possible values of TThreadPriority:

Values 
Meaning 
tpIdle  
The thread executes only when the system is idle. The system will not 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.  

 

TThread

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!