Topic Path: Symbol Reference > Classes > TCriticalSection Class
ContentsIndexHome
PreviousUpNext
TCriticalSection Class

Implements the ancestor for critical section classes in Indy.

File
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.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.