axlPointer vortex_queue_peek ( VortexQueue queue)

Returns a reference without popping the item from the queue.

Returns next value to be popped or NULL if no data is found.

queuethe queue to operate
a reference for the item on the Queue's header or NULL if fails.

References vortex_mutex_lock(), and vortex_mutex_unlock().