ThreadGetPriority

Return the priority of a thread.

Declaration

Source position: threadh.inc line 157

  function ThreadGetPriority(threadHandle: TThreadID) : LongInt;

Description

ThreadGetPriority returns the priority of thread TThreadID to Prio. The returned priority is a value between -15 and 15.

Errors

None.

See also

Name Description
ThreadSetPriority Set the priority of a thread.