#include <thread.h>
Definition at line 73 of file thread.h.
◆ ConditionVariable() [1/2]
ConditionVariable::ConditionVariable |
( |
| ) |
|
|
inlineprivate |
◆ ConditionVariable() [2/2]
ConditionVariable::ConditionVariable |
( |
Lock * |
lock_init | ) |
|
|
inline |
◆ ~ConditionVariable()
ConditionVariable::~ConditionVariable |
( |
| ) |
|
|
inline |
◆ broadcast()
void ConditionVariable::broadcast |
( |
| ) |
|
|
inline |
Definition at line 103 of file thread.h.
103 {
105 ThreadError(
"signaled condition without locked mutex");
108 }
void ThreadError(const char *message)
◆ signal()
void ConditionVariable::signal |
( |
| ) |
|
|
inline |
Definition at line 97 of file thread.h.
97 {
99 ThreadError(
"signaled condition without locked mutex");
102 }
◆ wait()
void ConditionVariable::wait |
( |
| ) |
|
|
inline |
Definition at line 88 of file thread.h.
88 {
90 ThreadError(
"waited on condition without locked mutex");
96 }
◆ Lock
◆ Semaphore
◆ condition
pthread_cond_t ConditionVariable::condition |
|
private |
◆ lock
Lock* ConditionVariable::lock |
|
private |
◆ waiting
int ConditionVariable::waiting |
|
private |
The documentation for this class was generated from the following file:
- Singular/dyn_modules/systhreads/thread.h