System.Win.ScktComp.TCustomWinSocket.Unlock

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Unlock;

C++

void __fastcall Unlock();

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TCustomWinSocket

Description

Reenables execution in other threads after a critical section begun by the Lock method.

Call Unlock at the end of a section of code that is not thread-safe. Every call to Unlock should match a call to the Lock method at the beginning of the critical section of code.

See Also