C# Class Amib.Threading.Internal.WorkItemsQueue.WaiterEntry

Inheritance: IDisposable
Show file Open project: SQLServerIO/TPCCBench Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Free resources

Dispose ( ) : void
Reset ( ) : void

Reset the wait entry so it can be used again

Signal ( WorkItem workItem ) : bool

Signal the waiter that it got a work item.

Timeout ( ) : bool

Mark the wait entry that it has been timed out

WaiterEntry ( ) : System

Method Details

Close() public method

Free resources
public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Reset() public method

Reset the wait entry so it can be used again
public Reset ( ) : void
return void

Signal() public method

Signal the waiter that it got a work item.
public Signal ( WorkItem workItem ) : bool
workItem WorkItem
return bool

Timeout() public method

Mark the wait entry that it has been timed out
public Timeout ( ) : bool
return bool

WaiterEntry() public method

public WaiterEntry ( ) : System
return System