Stops execution of all threads-based yarns allocated for the scheduler.
procedure TerminateAllYarns; override;
TerminateAllYarns is an overridden method in TIdSchedulerOfThreadPool. TerminateAllYarns is the method used to stop execution of all TIdYarnOfThread instances allocated in the ActiveYarns property for the scheduler.
TerminateAllYarns calls the inherited method to halt scheduling for all ActiveYarns.
In addition, TerminateAllYarns will Terminate (rather than Suspend) and Free any thread instances allocated to the internal thread pool for thread-based scheduler.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.