PaCO++
0.05
|
#include <paco_pthread.h>
Public Member Functions | |
paco_pthread_condition (paco_pthread_mutex *m) | |
void | signal () |
void | wait () |
~paco_pthread_condition () | |
Private Attributes | |
pthread_cond_t | condition |
paco_pthread_mutex * | mutex |
Definition at line 28 of file paco_pthread.h.
Definition at line 33 of file paco_pthread.cc.
References condition.
{ pthread_cond_destroy(&condition); }
void paco_pthread_condition::signal | ( | ) | [virtual] |
Implements paco_condition.
Definition at line 45 of file paco_pthread.cc.
References condition.
{ pthread_cond_signal(&condition); }
void paco_pthread_condition::wait | ( | ) | [virtual] |
Implements paco_condition.
Definition at line 39 of file paco_pthread.cc.
References condition, paco_pthread_mutex::mutex, and mutex.
pthread_cond_t paco_pthread_condition::condition [private] |
Definition at line 38 of file paco_pthread.h.
Referenced by paco_pthread_condition(), signal(), wait(), and ~paco_pthread_condition().
paco_pthread_mutex* paco_pthread_condition::mutex [private] |
Definition at line 39 of file paco_pthread.h.
Referenced by paco_pthread_condition(), and wait().