C# Class System.Threading.SemaphoreSlim

Inheritance: IDisposable
Mostra file Open project: runefs/Marvin Class Usage Examples

Private Properties

Property Type Description
CheckState void

Public Methods

Method Description
Dispose ( ) : void
Release ( ) : int
Release ( int releaseCount ) : int
SemaphoreSlim ( int initial ) : System
SemaphoreSlim ( int initial, int max ) : System
Wait ( System.TimeSpan ts ) : bool
Wait ( int millisecondsTimeout ) : bool
Wait ( ) : void

Protected Methods

Method Description
Dispose ( bool managedRes ) : void

Private Methods

Method Description
CheckState ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool managedRes ) : void
managedRes bool
return void

Release() public method

public Release ( ) : int
return int

Release() public method

public Release ( int releaseCount ) : int
releaseCount int
return int

SemaphoreSlim() public method

public SemaphoreSlim ( int initial ) : System
initial int
return System

SemaphoreSlim() public method

public SemaphoreSlim ( int initial, int max ) : System
initial int
max int
return System

Wait() public method

public Wait ( System.TimeSpan ts ) : bool
ts System.TimeSpan
return bool

Wait() public method

public Wait ( int millisecondsTimeout ) : bool
millisecondsTimeout int
return bool

Wait() public method

public Wait ( ) : void
return void