The IThreadingApi type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Advance |
Should be invoked in a loop by a single thread. This will be referred to as the API thread in documentation.
Causes the API to process its message queues. Returns when queue has emptied.
IGFClient enqueues received messages asynchronously. Advance MUST be called regularly for proper functionality.
IGFClient is not threadsafe. Other threads MUST NOT operate on IGFClient while this call is executing.
|
![]() | BeginDelayedInvoke |
Enqueue an action from any thread that will be invoked after a delay on the API thread in Advance.
Returns immediately without waiting for invocation.
|
![]() | BeginInvoke |
Enqueue an action from any thread that will be invoked on the API thread in Advance.
Returns immediately without waiting for invocation.
|
![]() | Invoke(Action) |
Enqueue an action from a non-API thread that will be invoked on the API thread in Advance.
Will not return until invocation is complete.
|
![]() | InvokeT(FuncT) |
Enqueue a func from a non-API thread that will be invoked on the API thread in Advance.
Will not return until invocation is complete.
|
See Also