nn::os::SafeBlockingQueue::Enqueue Member Function

Syntax

#include <nn/os.h>

void Enqueue(
     uptr data
);

Arguments

Name Description
in data Element to insert

Return Values

None.

Description

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.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL