nn::os::BlockingQueue::Enqueue Member Function#include <nn/os.h>
void Enqueue(
uptr data
);
| Name | Description | |
|---|---|---|
| in | data | Element to insert |
Inserts an element at the end of the queue.
This function inserts data at the end of the queue. However, if the queue is full, the thread that called this function will be blocked. This thread immediately restarts when a receiving thread operates to remove data from the queue.
If there are any threads being blocked by Dequeue or GetFront, these threads are started.
CONFIDENTIAL