qthread_queue_length - Man Page

return the length of the queue

Synopsis

#include <qthread.h>

aligned_t
qthread_queue_length (qthread_queue_t q);

Description

This function returns the number of tasks waiting in the queue. If the queue is not configured to keep track of the number of waiting tasks, it will return 0.

See Also

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

Referenced By

qthread_queue_create(3), qthread_queue_join(3), qthread_queue_release_all(3).

AUGUST 2013 libqthread