axlPointer vortex_queue_pop ( VortexQueue queue)

Extracts queue data from its header.

pop data at the queue's head.

Parameters
queuethe queue to operate.
Returns
the next item on the Queue's header of NULL if fails.

References vortex_mutex_lock(), and vortex_mutex_unlock().

Referenced by vortex_channel_free().