TibrvQueue::getPriority()

Method

Declaration

TibrvStatus getPriority (tibrv_u32& priority) const;

Purpose

Extract the priority of a queue.

Remarks

Each queue has a single priority value, which controls its dispatch precedence within queue groups. Higher values dispatch before lower values; queues with equal priority values dispatch in round-robin fashion.

When the queue is invalid, this method returns TIBRV_INVALID_QUEUE.

See Also

TibrvQueue::setPriority()