Demos the mutex functions. More...
#include <ecl/config.hpp>#include <iostream>#include <vector>#include "../../include/ecl/threads/mutex.hpp"#include "../../include/ecl/threads/thread.hpp"#include <ecl/time/sleep.hpp>
Go to the source code of this file.
| Functions | |
| void | f () | 
| int | main () | 
| Variables | |
| ecl::Mutex | mutex | 
| int | shared_value = 0 | 
| void f | ( | ) | 
Definition at line 27 of file examples/mutex.cpp.
| int main | ( | ) | 
Definition at line 41 of file examples/mutex.cpp.
| ecl::Mutex mutex | 
Definition at line 25 of file examples/mutex.cpp.
| int shared_value = 0 | 
Definition at line 24 of file examples/mutex.cpp.