TibrvDispatchable::dispatch()

Method

Declaration

virtual TibrvStatus dispatch () = 0;

Purpose

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

Remarks

If an event is ready to dispatch, then this call dispatches it, and then returns. If no events are waiting, then this call blocks indefinitely while waiting for the object to receive an event.

Both TibrvQueue and TibrvQueueGroup implement this method.

See Also

TibrvDispatchable

TibrvQueue::dispatch()

TibrvQueueGroup::dispatch()