C# Class System.Threading.ClientSpinLock

Afficher le fichier Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Méthodes publiques

Méthode Description
ClientSpinLock ( bool enableThreadOwnerTracking ) : System
Enter ( bool &lockTaken ) : void
TryEnter ( System.TimeSpan timeout, bool &lockTaken ) : void
TryEnter ( bool &lockTaken ) : void
TryEnter ( int millisecondsTimeout, bool &lockTaken ) : void

Private Methods

Méthode Description
Exit ( ) : void
Exit ( bool useMemoryBarrier ) : void

Method Details

ClientSpinLock() public méthode

public ClientSpinLock ( bool enableThreadOwnerTracking ) : System
enableThreadOwnerTracking bool
Résultat System

Enter() public méthode

public Enter ( bool &lockTaken ) : void
lockTaken bool
Résultat void

TryEnter() public méthode

public TryEnter ( System.TimeSpan timeout, bool &lockTaken ) : void
timeout System.TimeSpan
lockTaken bool
Résultat void

TryEnter() public méthode

public TryEnter ( bool &lockTaken ) : void
lockTaken bool
Résultat void

TryEnter() public méthode

public TryEnter ( int millisecondsTimeout, bool &lockTaken ) : void
millisecondsTimeout int
lockTaken bool
Résultat void