RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMonitor.SetSpinCount Method

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

Pascal
class procedure SetSpinCount(AObject: TObject; ASpinCount: Integer); static;
C++
static __fastcall SetSpinCount(TObject * AObject, int ASpinCount);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!