Reference documentation for deal.II version 9.4.1
Searching...
No Matches

#include <deal.II/base/thread_management.h>

## Public Member Functions

void join_all () const

## Detailed Description

template<typename RT = void>

A container for thread objects. Allows to add new thread objects and wait for them all together. The thread objects need to have the same return value for the called function.

Deprecated:

Definition at line 926 of file thread_management.h.

## ◆ operator+=()

template<typename RT = void>
inline

Definition at line 933 of file thread_management.h.

## ◆ join_all()

template<typename RT = void>
inline

Wait for all threads in the collection to finish. It is not a problem if some of them have already been waited for, i.e. you may call this function more than once, and you can also add new thread objects between subsequent calls to this function if you want.

Definition at line 946 of file thread_management.h.