ThreadSetPriority

Set the priority of a thread.

Declaration

Source position: threadh.inc line 156

  function ThreadSetPriority(threadHandle: TThreadID; Prio: LongInt)
                             : Boolean;

Description

ThreadSetPriority sets the priority of thread TThreadID to Prio. Priority is a value between -15 and 15.

Errors

None.

See also

Name Description
ThreadGetPriority Return the priority of a thread.