C# Class BitSharper.Threading.Locks.ConditionVariable

Inheritance: ICondition
Mostra file Open project: TangibleCryptography/BitSharper

Protected Properties

Property Type Description
_lock IExclusiveLock

Public Methods

Method Description
Await ( System.TimeSpan durationToWait ) : bool
Await ( ) : void
AwaitUninterruptibly ( ) : void
AwaitUntil ( System.DateTime deadline ) : bool
Signal ( ) : void
SignalAll ( ) : void

Protected Methods

Method Description
AssertOwnership ( ) : void

Private Methods

Method Description
ConditionVariable ( IExclusiveLock @lock ) : System

Create a new ConditionVariable that relies on the given mutual exclusion lock.

Method Details

AssertOwnership() protected method

protected AssertOwnership ( ) : void
return void

Await() public method

public Await ( System.TimeSpan durationToWait ) : bool
durationToWait System.TimeSpan
return bool

Await() public method

public Await ( ) : void
return void

AwaitUninterruptibly() public method

public AwaitUninterruptibly ( ) : void
return void

AwaitUntil() public method

public AwaitUntil ( System.DateTime deadline ) : bool
deadline System.DateTime
return bool

Signal() public method

public Signal ( ) : void
return void

SignalAll() public method

public SignalAll ( ) : void
return void

Property Details

_lock protected_oe property

protected IExclusiveLock _lock
return IExclusiveLock