forgot to add two files...
[c11tester.git] / conditionvariable.h
1 #ifndef CONDITIONVARIABLE_H
2 #define CONDITIONVARIABLE_H
3
4 namespace std {
5         class mutex;
6
7         struct condition_variable_state {
8                 int reserved;
9         };
10
11         class condition_variable {
12         public:
13                 condition_variable();
14                 ~condition_variable();
15                 void notify_one();
16                 void notify_all();
17                 void wait(mutex& lock);
18                 
19         private:
20                 struct condition_variable_state state;
21         };
22 }
23 #endif