#include <ccthreads.h>
Public Member Functions | |
| conditionVar_t () | |
| ~conditionVar_t () | |
| void | lock () |
| void | unlock () |
| void | signal () |
| void | wait () |
Protected Member Functions | |
| conditionVar_t (const conditionVar_t &m) | |
| conditionVar_t & | operator= (const conditionVar_t &m) |
The try to provide a platform independant codition object, as a matter of fact it is simply a pthread wrapper now... It is mutex and condition variable in one! Usage: waiting thread: lock(); ...initialize conditions to be met...; wait(); signalling thread: lock(); ...check if you want to signal...; [signal();] unlock();
Definition at line 48 of file ccthreads.h.
| yafthreads::conditionVar_t::conditionVar_t | ( | ) |
Definition at line 64 of file ccthreads.cc.
| yafthreads::conditionVar_t::~conditionVar_t | ( | ) |
Definition at line 135 of file ccthreads.cc.
| yafthreads::conditionVar_t::conditionVar_t | ( | const conditionVar_t & | m | ) | [protected] |
| void yafthreads::conditionVar_t::lock | ( | ) |
Definition at line 86 of file ccthreads.cc.
| conditionVar_t& yafthreads::conditionVar_t::operator= | ( | const conditionVar_t & | m | ) | [protected] |
| void yafthreads::conditionVar_t::signal | ( | ) |
Definition at line 110 of file ccthreads.cc.
| void yafthreads::conditionVar_t::unlock | ( | ) |
Definition at line 98 of file ccthreads.cc.
| void yafthreads::conditionVar_t::wait | ( | ) |
Definition at line 122 of file ccthreads.cc.
1.6.1