Jam

nn::os::BlockingQueue::Jam Member Function

Syntax

#include <nn/os.h>

void Jam(
     uptr data
);

Parameters

Name Description
in data Element to insert

Return Values

None.

Description

Inserts an element at the front of the queue.

This function inserts data at the front 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