System.TMonitor.SetSpinCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class procedure SetSpinCount(const AObject: TObject; ASpinCount: Integer); static;

C++

static void __fastcall SetSpinCount(TObject* const AObject, int ASpinCount);

Properties

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

Description

SetSpinCount sets the number of times that Enter attempts to lock the specified object.

Use SetSpinCount to set the number of attempts ASpinCount that Enter makes trying to lock AObject.

See Also