Sign in Join
FPDoc Onlineexperiment

ThreadSetPriority function

In unit System

Set the priority of a thread.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.