TibrvQueue::dispatch()

Method

Declaration

virtual TibrvStatus dispatch ();

Purpose

Dispatch an event; if no event is ready, block.

Remarks

If the queue is not empty, then this call dispatches the event at the head of the queue, and then returns. If the queue is empty, then this call blocks indefinitely while waiting for the queue to receive an event.

See Also

TibrvDispatchable

TibrvDispatchable::dispatch()

TibrvQueue::poll()

TibrvQueue::timedDispatch()

TibrvDispatcher