Implements a thread-based scheduler for client connections to a server.
TIdSchedulerOfThread = class(TIdScheduler);
TIdScheduler introduced an abstract representation for executable tasks for client connections to a multi-threaded TCP server. This abstraction, called a Yarn, allows the use either threads or fibers for execution of client connections to the server. Each client connection, or Yarn, represents a task that is managed by the Scheduler for the server.
TIdSchedulerOfThread extends the capabilities of the TIdScheduler ancestor class by implementing methods that handle the executable threads for yarns managed by the scheduler.
Freeing the scheduler instance forces all thread-based yarns in ActiveYarns to be terminated prior to releasing resources allocated to the scheduler.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.