nn::os::BlockingQueue::Dequeue Member Function

Syntax

#include <nn/os.h>

uptr Dequeue();

Arguments

None.

Return Values

Element that was retrieved from the queue

Description

Retrieves the first element at the front of the queue.

If the queue is empty, blocks the thread until the queue is no longer empty. If the queue is not empty, retrieves the element at the front of the queue and returns it immediately.

If there are any threads being blocked by Enqueue or Jam, these threads are started.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL