C++ Library Extensions 2022.12.09
To help learn modern C++ programming
010-thread_function.cpp File Reference
#include <tpf_output.hpp>
#include <future>
#include <thread>
Include dependency graph for 010-thread_function.cpp:

Go to the source code of this file.

Classes

class  SquareSum
 

Functions

int global_sum (int a, int b)
 
void example_for_thread_functions ()
 
void example_for_thread_functions_async ()
 
int main ()
 

Function Documentation

◆ example_for_thread_functions()

void example_for_thread_functions ( )

Definition at line 34 of file 010-thread_function.cpp.

Here is the call graph for this function:

◆ example_for_thread_functions_async()

void example_for_thread_functions_async ( )

Definition at line 83 of file 010-thread_function.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ global_sum()

int global_sum ( int  a,
int  b 
)

Definition at line 6 of file 010-thread_function.cpp.

Here is the caller graph for this function:

◆ main()

int main ( )

Definition at line 133 of file 010-thread_function.cpp.

Here is the call graph for this function: