[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

ThreadGetPriority

Return the priority of a thread.

Declaration

Source position: threadh.inc line 128

function ThreadGetPriority(

  threadHandle: TThreadID

):LongInt;

Description

ThreadGetPriorityreturns the priority of thread TThreadIDto Prio. The returned priority is a value between -15 and 15.

Errors

None.

See also

ThreadSetPriority

  

Set the priority of a thread.