Functions | Variables
examples/mutex.cpp File Reference

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>
Include dependency graph for examples/mutex.cpp:

Go to the source code of this file.


void f ()
int main ()


ecl::Mutex mutex
int shared_value = 0

Detailed Description

Demos the mutex functions.

April, 2013

Definition in file examples/mutex.cpp.

Function Documentation

◆ f()

void f ( )

Definition at line 27 of file examples/mutex.cpp.

◆ main()

int main ( )

Definition at line 41 of file examples/mutex.cpp.

Variable Documentation

◆ mutex

ecl::Mutex mutex

Definition at line 25 of file examples/mutex.cpp.

◆ shared_value

int shared_value = 0

Definition at line 24 of file examples/mutex.cpp.

Author(s): Daniel Stonier
autogenerated on Sun Aug 2 2020 03:12:17