Internet Direct (Indy)
Home
PreviousUpNext
TIdSchedulerOfThread.MaxThreads Property

Indicates the maximum number of threads permitted in the scheduler.

Pascal
property MaxThreads: Integer;

MaxThreads is an Integer property that indicates the maximum number of threads permitted in the thread-based scheduler. 

The default value for MaxThreads is 0, as assigned during component initialization, and indicates that the scheduler does not impose a limit on the number of threads created in scheduler. 

Set MaxThreads to a positive non-zero value to limit the number of threads created in NewThread to the specified value.

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.