tibrvQueue_Dispatch()

Macro

Declaration

tibrv_status tibrvQueue_Dispatch(
    tibrvQueue     eventQueue);

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.

Parameter

Description

eventQueue

Dispatch an event from the head of this queue.

See Also

tibrvQueue_Poll()

tibrvQueue_TimedDispatch()tibrvQueue_TimedDispatch()