tibrvQueue_Poll()

Macro

Declaration

tibrv_status tibrvQueue_Poll(
    tibrvQueue        eventQueue);

Purpose

Dispatch an event, if possible.

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 returns immediately.

When the call dispatches an event, it returns the status code TIBRV_OK. When the call does not dispatch an event, it returns the status code TIBRV_TIMEOUT.

Parameter

Description

eventQueue

Dispatch an event from the head of this queue.

See Also

tibrvQueue_Dispatch()

tibrvQueue_TimedDispatch()tibrvQueue_TimedDispatch()