Vcl.Graphics.TGraphicsObject.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
protected
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TGraphicsObject

Description

Releases the lock on execution threads set by the Lock method.

Call Unlock at the end of a thread-sensitive section of code that was started with a call to the Lock method. When every call to Lock is balanced by a call to Unlock, other threads are allowed to lock the associated canvas.

See Also