C# Class System.Threading.ServerSpinLock

Afficher le fichier Open project: dreamanlan/CSharpGameFramework

Méthodes publiques

Méthode Description
Enter ( bool &lockTaken ) : void
ServerSpinLock ( bool enableThreadOwnerTracking ) : System
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

Enter() public méthode

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

ServerSpinLock() public méthode

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

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