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

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

## Public Member Functions

std::size_t size () const

void join_all () const

## Detailed Description

template<typename RT = void>

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

Note that the call to join_all() must be executed on the same thread as the calls that add subtasks. Otherwise, there might be a deadlock. In other words, a Task object should never passed on to another task for calling the join() method.

Definition at line 1691 of file thread_management.h.

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