qthread_queue_join - Man Page

enter a queue and block until the queue is released

Synopsis

#include <qthread.h>

int
qthread_queue_join (qthread_queue_t q);

Description

This function causes the calling task to relinqush the processor and be queued up in the specified queue for later release. Effectively, it is similar to a qthread_yield() call, but where another task must release the queue before this task executes again.

Return Values

qthread_queue_join() returns QTHREAD_SUCCESS if successful, or QTHREAD_BADARGS if q is invalid.

See Also

qthread_queue_create(3), qthread_queue_destroy(3), qthread_queue_length(3), qthread_queue_release_all(3), qthread_queue_release_one(3)

Referenced By

qthread_queue_create(3), qthread_queue_length(3), qthread_queue_release_all(3).

AUGUST 2013 libqthread