Conditional. More...
#include <lock.h>
Public Member Functions | |
| conditional (void) | |
| ~conditional (void) | |
| void | signal (void) |
| void | broadcast (void) |
| bool | wait (void) |
| bool | wait (int timeout) |
Protected Attributes | |
| pthread_mutexattr_t * | attr |
| pthread_mutex_t * | mutex |
| pthread_cond_t * | cond |
| int | queue |
Conditional.
Implies a condition that one or more threads can wait on that other threads can raise.
| conditional::conditional | ( | void | ) |
| conditional::~conditional | ( | void | ) |
| bool conditional::wait | ( | int | timeout | ) |
1.6.1