프로퍼티 | 타입 | 설명 | |
---|---|---|---|
GetThreadWaiterEntry | WaiterEntry | ||
PopWaiter | WaiterEntry | ||
RemoveWaiter | void | ||
ValidateNotDisposed | void |
메소드 | 설명 | |
---|---|---|
DequeueWorkItem ( int millisecondsTimeout, |
Waits for a work item or exits on timeout or cancel
|
|
Dispose ( ) : void | ||
EnqueueWorkItem ( WorkItem workItem ) : bool |
Enqueue a work item to the queue.
|
|
PushWaiter ( WaiterEntry newWaiterEntry ) : void |
Push a new waiter into the waiter's stack
|
메소드 | 설명 | |
---|---|---|
Cleanup ( ) : void |
Cleanup the work items queue, hence no more work items are allowed to be queue
|
메소드 | 설명 | |
---|---|---|
GetThreadWaiterEntry ( ) : WaiterEntry |
Returns the WaiterEntry of the current thread
|
|
PopWaiter ( ) : WaiterEntry |
Pop a waiter from the waiter's stack
|
|
RemoveWaiter ( WaiterEntry waiterEntry, bool popDecrement ) : void |
Remove a waiter from the stack
|
|
ValidateNotDisposed ( ) : void |
public DequeueWorkItem ( int millisecondsTimeout, |
||
millisecondsTimeout | int | Timeout in milliseconds |
cancelEvent | Cancel wait handle | |
리턴 | WorkItem |
public EnqueueWorkItem ( WorkItem workItem ) : bool | ||
workItem | WorkItem | |
리턴 | bool |
public PushWaiter ( WaiterEntry newWaiterEntry ) : void | ||
newWaiterEntry | WaiterEntry | A waiter to put in the stack |
리턴 | void |