AtomicQueue.peek

void * peek() nothrow

Peek the head element of the queue without removing it from the queue.

Returns

the head element of queue or

null when the queue is empty.