Method | Description | |
---|---|---|
CheckEvents ( int timeout ) : bool |
Dequeues and runs an action, if one is queued.
|
|
Post ( SendOrPostCallback d, object state ) : void |
Posts an action to run when PollingSynchronizationContext.CheckEvents is called. This will not block.
|
|
Send ( SendOrPostCallback d, object state ) : void |
Sends an action to run when PollingSynchronizationContext.CheckEvents is called. This will block until then. This will lock up if you call it from the same thread you use for checking events.
|
Method | Description | |
---|---|---|
Post ( System.Action action ) : void |
Post an action to run when PollingSynchronizationContext.CheckEvents is called. This will not block.
|
public CheckEvents ( int timeout ) : bool | ||
timeout | int | The number of milliseconds to wait for an action to run. |
return | bool |
public Post ( SendOrPostCallback d, object state ) : void | ||
d | SendOrPostCallback | The callback. |
state | object | State to pass to the callback. |
return | void |
public Send ( SendOrPostCallback d, object state ) : void | ||
d | SendOrPostCallback | The callback. |
state | object | State to pass to the callback. |
return | void |