Internet Direct (Indy)
Home
PreviousUpNext
TCriticalSection Class

Implements the ancestor for critical section classes in Indy.

Pascal
TCriticalSection = class(TObject);

TCriticalSection is a TObject descendant that implements the ancestor class for TIdCriticalSection on the .Net platform. 

TCriticalSection implements methods that emulate the behavior of Win32 Critical Sections on the .Net platform using methods from System.Threading.Monitor in the Framework Class Library (FCL). 

On the Windows and Linux platforms, TCriticalSection is declared as an alias for the TCriticalSection type in the SyncObjs.pas unit. Indy applications, and classes, normally use TIdCriticalSection which isolates these platform dependencies.

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.