|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Focused examples for bounded channels and synchronized wrappers. More...
#include <concurrency_utils.H>#include <thread_pool.H>#include <algorithm>#include <iostream>#include <vector>Go to the source code of this file.
Functions | |
| int | main () |
Focused examples for bounded channels and synchronized wrappers.
Usage: ./concurrency_utils_example
Definition in file concurrency_utils_example.cc.
| int main | ( | void | ) |
Definition at line 18 of file concurrency_utils_example.cc.
References Aleph::BoundedChannel< T >::close(), Aleph::TaskGroup::launch(), out, Aleph::BoundedChannel< T >::recv(), Aleph::BoundedChannel< T >::send(), value, Aleph::Synchronized< T, Mutex >::with_lock(), and Aleph::RwSynchronized< T, SharedMutex >::with_write_lock().