ThreadSetPriority¶
Set the priority of a thread.
Declaration¶
Source position: threadh.inc line 170
function ThreadSetPriority(threadHandle: TThreadHandle; 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. |