AtomicQueue.peek

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

class AtomicQueue
void*
peek
()

Return Value

Type: void*

the head element of queue or NULL when the queue is empty.