tibrvQueue_GetPriority()

Function

Declaration

tibrv_status tibrvQueue_GetPriority(
    tibrvQueue        eventQueue,
    tibrv_u32*        priority);

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.

Parameter

Description

eventQueue

Extract the priority of this queue.

priority

The program supplies a location, and the function copies the priority of the queue into that location.

See Also

tibrvQueue_Create()

tibrvQueue_SetPriority()