![]() |
![]() ![]() ![]() |
dcMultiDiskScanner, dcDiskScanner, dcFolderMonitor and dcFileTail components.
|
property ThreadPriority: TThreadPriority;
|
The ThreadPriority property determines the thread's scheduling priority relative to other threads in the process.
|
|
ThreadPriority indicates and specifies the priority of searching process relatively to the main application thread. Adjust the priority higher or lower as needed.
|
|
TThreadPriority type defines the possible values for the Priority property of the TThread component, as defined in the following table. 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.
|
|
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.
|
|
![]() |