Open topic with navigation

TIBCO Rendezvous® 8.7.0

# tibrvQueueGroup_Dispatch()

Macro

## Declaration

    tibrv_status tibrvQueueGroup_Dispatch(
        tibrvQueueGroup    eventQueueGroup);

## Purpose

Dispatch an event from a queue group; if no event is ready, block.

## Remarks

If any queue in the group contains an event, then this call searches the queues in priority order, dispatches an event from the first non-empty queue that it finds, and then returns. If all the queues are empty, then this call blocks indefinitely while waiting for any queue in the group to receive an event.

When searching the group for a non-empty queue, this call searches according to the priority values of the queues. If two or more queues have identical priorities, subsequent dispatch and poll calls rotate through them in round-robin fashion.

Parameter | Description
`eventQueueGroup` | Dispatch the next event from a queue in this group.

## See Also

tibrvQueueGroup_Poll()

tibrvQueueGroup_TimedDispatch()

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.