Internet Direct (Indy)
Home
PreviousUpNext
TCriticalSection.Enter Method

Starts resource protection in a critical section.

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

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.