axl_bool vortex_async_queue_priority_push ( VortexAsyncQueue queue,
axlPointer  data 
)

Allows to push data into the queue but moving the reference provided into the queue head (causing next call to vortex_async_queue_pop to receive this reference).

This function performs the same as vortex_async_queue_push but skiping all items already pushed.

Parameters
queueThe queue where data will be pushed.
dataA reference to the data to be pushed. It is not allowed to push null references.
Returns
axl_true In the case the item was pushed into the queue, otherwise axl_false is returned.

References vortex_cond_signal(), vortex_mutex_lock(), and vortex_mutex_unlock().