Internet Direct (Indy)
Home
PreviousUpNext
TIdSchedulerOfThread.ThreadPriority Property

Represents the thread priority assigned to threads created in the scheduler.

Pascal
property ThreadPriority: TIdThreadPriority;

ThreadPriority is a TIdThreadPriority property that represents the default thread priority assigned to threads created in the thread-based scheduler. 

The default value for ThreadPriority is tpNormal, as assigned during initialization of the component instance. Assign a value from the TIdThreadPriority enumeration to the property to alter the priority given to the thread during pre-emptive scheduling in the operating system. 

ThreadPriority is used in NewThread when initializing the TIdThreadWithTask instance for the yarn.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.