Topic Path: Symbol Reference > Classes > TCriticalSection Class > TCriticalSection Methods > Enter Method
ContentsIndexHome
PreviousUpNext
TCriticalSection.Enter Method

Starts resource protection in a critical section.

procedure Enter;

Enter is a procedure used to to start resource protection for the critical section on the .Net platform. 

Enter calls System.Threading.Monitor.Enter method in the FCL using the current object instance as an argument. 

Use Release or Leave to free the resource protection for the critical section.

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