Lines Matching defs:Condition
37 * Condition variable class. The implementation is system-dependent.
39 * Condition variables are paired up with mutexes. Lock the mutex,
42 * use the same mutex for a given Condition.
44 class Condition {
56 Condition();
57 Condition(int type);
58 ~Condition();
59 // Wait on the condition variable. Lock the mutex before calling.
63 // Signal the condition variable, allowing one thread to continue.
65 // Signal the condition variable, allowing one or all threads to continue.
73 // Signal the condition variable, allowing all threads to continue.
88 inline Condition::Condition() {
91 inline Condition::Condition(int type) {
102 inline Condition::~Condition() {
105 inline status_t Condition::wait(Mutex& mutex) {
108 inline status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime) {
134 inline void Condition::signal() {
137 inline void Condition::broadcast() {