#include <deal.II/base/thread_management.h>
template<typename RT>
struct Threads::internal::TaskDescriptor< RT >
Definition at line 1199 of file thread_management.h.
◆ TaskDescriptor() [1/3]
Constructor. Take the function to be run on this task as argument.
Definition at line 1344 of file thread_management.h.
◆ TaskDescriptor() [2/3]
Default constructor. Throws an exception since we want to queue a task immediately upon construction of these objects to make sure that each TaskDescriptor object corresponds to exactly one task.
Definition at line 1370 of file thread_management.h.
◆ TaskDescriptor() [3/3]
Copy constructor. Objects of this type can not be copied, and so this constructor is delete
d and can't be called.
◆ ~TaskDescriptor()
◆ operator=()
Copy operator. Objects of this type can not be copied, and so this operator is delete
d and can't be called.
◆ queue_task()
Queue up the task to the scheduler. We need to do this in a separate function since the new tasks needs to access objects from the current object and that can only reliably happen if the current object is completely constructed already.
Definition at line 1354 of file thread_management.h.
◆ join()
Join a task, i.e. wait for it to finish. This function can safely be called from different threads at the same time, and can also be called more than once.
Definition at line 1402 of file thread_management.h.
◆ TaskEntryPoint
template<typename RT >
template<typename >
◆ ::Threads::Task< RT >
◆ function
The function and its arguments that are to be run on the task.
Definition at line 1265 of file thread_management.h.
◆ task
Variable holding the data the TBB needs to work with a task. Set by the queue_up_task() function. Note that the object behind this pointer will be deleted upon termination of the task, so we do not have to do so ourselves. In particular, if all objects with pointers to this task_description object go out of scope then no action is needed on our behalf.
Definition at line 1275 of file thread_management.h.
◆ ret_val
◆ task_is_done
The documentation for this struct was generated from the following file: