help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

ThreadSetPriority

Set the priority of a thread.

Declaration

Source position: threadh.inc line 136

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

ThreadGetPriority

  

Return the priority of a thread.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505