Internet Direct (Indy) Version 9.0.2 Beta
TIdTCPServer.ThreadMgr
Identifies the thread manager used by the server.

property ThreadMgr: TIdThreadMgr;
Description
ThreadMgr is a TIdThreadMgr property that provides an extensible mechanism for thread management.

ThreadMgr can accept an explicit reference to one of the TIdThreadMgr descendants, such as TIdThreadMgrDefault or TIdThreadMgrPooled. ThreadMgr will be implicitly created, using a TIdThreadMgrDefault instance, if no other thread manager is assigned when Active is set to True.

ThreadMgr is used by TIdListenerThread.Run get the TIdPeerThread that will act as the thread of execution for new client connections. ThreadMgr uses ThreadClass to determine the class instance returned to the listener thread.

ThreadMgr is used by TIdPeerThread.AfterRun to perform the TIdThreadMgr.ReleaseThread method.