Internet Direct (Indy)
Home
PreviousUpNext
IdThread.pas

Contains Classes, Types, Procedures, and Functions needed to define and implement threads using the management framework for the Indy library.

IdThread.pas contains Classes, Types, Procedures, and Functions needed to define and implement threads using the management framework for the Indy library.

 
Name 
Description 
 
Ancestor for exception raised in the Indy threading framework. 
 
Exception raised when waiting for a terminating thread that may have already been freed. 
 
Ancestor for threads used in the Indy library.
term or function-specific client connections to a multi-threaded TCP server.
The following diagram represents the general sequence of events during execution of the Thread without an inner loop.

Using the Loop property in the proper manner allows the code written for the TIdTCPServer.OnExecute event handler procedure to be written in a more straight-forward manner.
An exception handling mechanism is provided that allows handling runtime exceptions occurring when the Run method is called. An unhandled exception raised during execution of the thread will cause TerminatingException to be assigned with the content from the... more 
 
Implements threads created in a thread-based scheduler in TIdTCPServer
 
Name 
Description 
 
Identifies the manner used to halt a thread. 
Name 
Description 
Exception raised when waiting for a terminating thread that may have already been freed. 
Represents an event type for Indy thread notifications. 
Represents a method pointer for Synchronized method calls. 
Class type for new thread instances. 
Values available for use in the thread options property. 
 
Name 
Description 
Milliseconds to wait for termination of all TIdThread instances. 
Milliseconds to wait between access attempts to the global thread count. 
Name 
Description 
Indicates the number threads created by the Indy library. 
 
Class 
 
Enumeration 
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.