Internet Direct (Indy)
Home
PreviousUpNext
TCriticalSection.Leave Method

Stops resource protection in a critical section.

Pascal
procedure Leave;

Leave is a procedure used to stop resource protection for the critical section on the .Net platform. 

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

Use Enter or Acquire to begin 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.