C# Class BitSharper.Threading.Locks.ReentrantLock.FairSync

Inheritance: Sync, IQueuedSync, IDeserializationCallback
显示文件 Open project: TangibleCryptography/BitSharper

Public Methods

Method Description
IsQueued ( Thread thread ) : bool
Lock ( ) : void
LockInterruptibly ( ) : void
Recheck ( WaitNode node ) : bool
TakeOver ( WaitNode node ) : void
TryLock ( System.TimeSpan timespan ) : bool
Unlock ( ) : void

Private Methods

Method Description
GetSignallee ( Thread caller ) : WaitNode
IDeserializationCallback ( object sender ) : void

Method Details

IsQueued() public method

public IsQueued ( Thread thread ) : bool
thread Thread
return bool

Lock() public method

public Lock ( ) : void
return void

LockInterruptibly() public method

public LockInterruptibly ( ) : void
return void

Recheck() public method

public Recheck ( WaitNode node ) : bool
node BitSharper.Threading.Helpers.WaitNode
return bool

TakeOver() public method

public TakeOver ( WaitNode node ) : void
node BitSharper.Threading.Helpers.WaitNode
return void

TryLock() public method

public TryLock ( System.TimeSpan timespan ) : bool
timespan System.TimeSpan
return bool

Unlock() public method

public Unlock ( ) : void
return void