Topic Path: Symbol Reference > Classes > TIdSocketList Class > TIdSocketList Methods > Unlock Method
ContentsIndexHome
PreviousUpNext
TIdSocketList.Unlock Method

Releases resource protection acquired in a critical section.

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.

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