System.SyncObjs.TSpinLock.Exit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Exit(PublishNow: Boolean = True);

C++

void __fastcall Exit(bool PublishNow = true);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.SyncObjs.pas
System.SyncObjs.hpp
System.SyncObjs TSpinLock

Description

Used to release the spin lock by the thread that currently owns it.

Call Exit to release the spin lock.

The PublishNow parameter indicates whether or not other threads should see the exit immediately. In this case the fairness of the lock is ensured at the expense of a small performance decrease.

See Also