Root > Reference > All Classes > TEurekaThreadData > Methods > TEurekaThreadData.Priority

Method TEurekaThreadData.Priority

Previous pageReturn to chapter overviewNext page   

Thread's priority.

 

Unit

EThreadsManager

 

Syntax

 

Code (Delphi)

public

function Priority: Integer;

 

Return value

Value returned by GetThreadPriority function. Possible range is -15..15.

 

Remarks

This method retrieves the priority value for the thread. This value, together with the priority class of the thread's process, determines the thread's base-priority level.

 

The thread's priority level can be any number within -15..+15 range. A well-known standard values are:

-15: (THREAD_PRIORITY_IDLE) Base priority of 1 for usual processes or 16 for REALTIME_PRIORITY_CLASS processes.
-1: (THREAD_PRIORITY_BELOW_NORMAL) Priority 1 point below the priority class.
-2: (THREAD_PRIORITY_LOWEST) Priority 2 points below the priority class.
0: (THREAD_PRIORITY_NORMAL) Normal priority for the priority class.
1: (THREAD_PRIORITY_ABOVE_NORMAL) Priority 1 point above the priority class.
2: (THREAD_PRIORITY_HIGHEST) Priority 2 points above the priority class.
15: (THREAD_PRIORITY_TIME_CRITICAL) Base-priority level of 15 for usual processes or 31 for REALTIME_PRIORITY_CLASS processes.

 

See also




Send feedback... Build date: 2018-11-26
Last edited: 2018-11-26
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_method_ethreadsmanager_teurekathreaddata_priority.php