Reference documentation for deal.II version GIT d77e5ebb0a 2023-01-27 22:35:02+00:00

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

## Public Member Functions

void join_all () const

## Detailed Description

### template<typename RT = void> class Threads::ThreadGroup< RT >

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 878 of file thread_management.h.

## ◆ operator+=()

template<typename RT = void>
inline

Add another thread object to the collection.

Definition at line 885 of file thread_management.h.

## ◆ join_all()

template<typename RT = void>
 void Threads::ThreadGroup< RT >::join_all ( ) const
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 898 of file thread_management.h.

## Member Data Documentation

template<typename RT = void>
private

List of thread objects.

Definition at line 908 of file thread_management.h.

The documentation for this class was generated from the following file: