![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
#include <tpf_output.hpp>
#include <tpf_chrono_random.hpp>
#include <sstream>
#include <set>
#include <string>
#include <mutex>
#include <thread>
#include <execution>
Go to the source code of this file.
Classes | |
class | functor< Type > |
Functions | |
void | test_threads_in_parallel_algorithm () |
void | test_threads_in_parallel_algorithm_for_locals () |
void | test_threads_in_parallel_algorithm_with_functor () |
int | main () |
Variables | |
tpf::sstream | stream |
auto | endl = tpf::endl |
int | thread_count {0} |
int main | ( | ) |
Definition at line 236 of file 035-parallel_synchronization.cpp.
void test_threads_in_parallel_algorithm | ( | ) |
Definition at line 14 of file 035-parallel_synchronization.cpp.
void test_threads_in_parallel_algorithm_for_locals | ( | ) |
Definition at line 69 of file 035-parallel_synchronization.cpp.
void test_threads_in_parallel_algorithm_with_functor | ( | ) |
Definition at line 204 of file 035-parallel_synchronization.cpp.
auto endl = tpf::endl |
Definition at line 12 of file 035-parallel_synchronization.cpp.
tpf::sstream stream |
Definition at line 11 of file 035-parallel_synchronization.cpp.
int thread_count {0} |
Definition at line 129 of file 035-parallel_synchronization.cpp.