axl_bool vortex_queue_head_push ( VortexQueue queue,
axlPointer  data 
)

Queues new data inside the given queue at the header, that is, at the very next to be popped.

Push data at the queue's head

Parameters
queuethe queue to use.
datauser defined data to queue.
Returns
axl_true if the data was queue, axl_false if not

References vortex_mutex_lock(), and vortex_mutex_unlock().