Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketList.Unlock Method

Releases resource protection acquired in a critical section.

Pascal
procedure Unlock;

Unlock is a procedure used to release the critical section acquired in Lock that protects access to resources in the socket list in multi-threaded applications. 

Use Lock to acquire the critical section prior to peforming an action to updates the contents of the socket list. 

Use Unlock when the action has been completed.

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.