Functions | Variables
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.

Functions

void f ()
int main ()

Variables

ecl::Mutex mutex
int shared_value = 0

Detailed Description

Demos the mutex functions.

Date:
April, 2013

Definition in file examples/mutex.cpp.


Function Documentation

void f ( )

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

int main ( )

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


Variable Documentation

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.



ecl_threads
Author(s): Daniel Stonier
autogenerated on Mon Jul 3 2017 02:22:01