Internet Direct (Indy) Version 9.0.1 Beta
TIdThreadMgrDefault.GetThread
Requests a new thread for the thread manager.

function GetThread: TIdThread; override;
Returns
TIdThread - The new thread instance.

Description
TIdThreadMgrDefault implements GetThread to provide new thread instances for the thread manager. GetThread uses CreateNewThread to obtain the new thread instance. GetThread also adds the new thread instance to ActiveThreads.

A thread instance can be freed using ReleaseThread.

A list of threads can be terminated and freed using TerminateThreads.