Internet Direct (Indy) Version 9.0.2 Beta
|
procedure SetThreadPriority(AThread: TThread; const APriority: TIdThreadPriority);
SetThreadPriority encapsulates the platform-specific procedures and functions used to update the priority of a thread. For the Windows platform, Priority is a published property of TThread.
Note: Since only root is allowed to adjust thread priorities on the Linux platform, calls to SetThreadPriority are ignored regardless of login context.