C# Class Accord.SpinLock

Minimum SpinLock implementation for .NET 3.5 to make Accord.NET work. This is not a complete implementation.
Mostra file Open project: accord-net/framework

Public Methods

Method Description
Enter ( bool &taken ) : void

Acquires the lock.

Exit ( ) : void

Releases the lock.

Method Details

Enter() public method

Acquires the lock.
public Enter ( bool &taken ) : void
taken bool
return void

Exit() public method

Releases the lock.
public Exit ( ) : void
return void