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

Go to the source code of this file.

Classes

class  MyClass
 
class  SquareSum
 

Typedefs

using return_t = int
 

Functions

return_t sum (int a, int b)
 
void example_for_callable_thread_functions ()
 
void more_examples_for_thread_function ()
 
int main ()
 

Typedef Documentation

◆ return_t

using return_t = int

Definition at line 5 of file 010-thread_func.cpp.

Function Documentation

◆ example_for_callable_thread_functions()

void example_for_callable_thread_functions ( )

Definition at line 38 of file 010-thread_func.cpp.

Here is the call graph for this function:

◆ main()

int main ( )

Definition at line 90 of file 010-thread_func.cpp.

Here is the call graph for this function:

◆ more_examples_for_thread_function()

void more_examples_for_thread_function ( )

Definition at line 64 of file 010-thread_func.cpp.

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

◆ sum()

return_t sum ( int  a,
int  b 
)

Definition at line 7 of file 010-thread_func.cpp.

Here is the caller graph for this function: