nn::os::BlockingQueue::TryDequeue Member Function#include <nn/os.h>
bool TryDequeue(
uptr * pOut
);
| Name | Description | |
|---|---|---|
| out | pOut | Buffer in which to write the retrieved element |
true if an element was retrieved, and false if no element was retrieved. Retrieves the first element at the front of the queue.
If the queue is not empty, retrieves the element at the front of the queue and returns true. If the queue is empty, does nothing and returns false.
If there are any threads being blocked by Dequeue or GetFront when the element is inserted, these threads are started.
CONFIDENTIAL