qthread_syncvar_status - Man Page

return the full/empty status of a syncvar_t

Synopsis

#include <qthread.h>

int
qthread_syncvar_status (syncvar_t *addr);

Description

This function returns 1 if the address is full, and 0 if the address is empty. It is thread-safe, and should be very quick. On 64-bit platforms, it usually reduces to a read and a bitshift.

See Also

qthread_syncvar_empty(3), qthread_syncvar_fill(3), qthread_syncvar_writeFE(3), qthread_syncvar_writeF(3), qthread_syncvar_readFE(3), qthread_syncvar_readFF(3)

Referenced By

qthread_syncvar_readFE(3), qthread_syncvar_readFF(3), qthread_syncvar_writeEF(3), qthread_syncvar_writeF(3).

JUNE 2010 libqthread