Topic Path: Symbol Reference > Classes > TIdSchedulerOfThread Class > TIdSchedulerOfThread Properties > MaxThreads Property
ContentsIndexHome
PreviousUpNext
TIdSchedulerOfThread.MaxThreads Property

Indicates the maximum number of threads permitted in the scheduler.

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.