Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Classes | Namespaces | Macros | Typedefs | Functions
thread_management.h File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/exceptions.h>
#include <deal.II/base/multithread_info.h>
#include <deal.II/base/std_cxx17/tuple.h>
#include <deal.II/base/template_constraints.h>
#include <condition_variable>
#include <functional>
#include <iterator>
#include <list>
#include <memory>
#include <mutex>
#include <tuple>
#include <utility>
#include <vector>
#include <thread>
#include <pthread.h>
#include <tbb/task.h>
#include <tbb/tbb_stddef.h>

Go to the source code of this file.

Classes

class  Threads::Mutex
 
class  Threads::ConditionVariable
 
class  Threads::PosixThreadBarrier
 
struct  Threads::internal::return_value< RT >
 
struct  Threads::internal::return_value< RT & >
 
struct  Threads::internal::return_value< void >
 
struct  Threads::internal::ThreadDescriptor< RT >
 
class  Threads::Thread< RT >
 
struct  Threads::internal::maybe_make_ref< T >
 
struct  Threads::internal::maybe_make_ref< T & >
 
class  Threads::ThreadGroup< RT >
 
class  Threads::Task< RT >
 
struct  Threads::internal::TaskDescriptor< RT >
 
struct  Threads::internal::TaskEntryPoint< RT >
 
struct  Threads::internal::TaskDescriptor< RT >
 
class  Threads::Task< RT >
 
class  Threads::TaskGroup< RT >
 

Namespaces

 Threads
 
 Threads::internal
 

Macros

#define TBB_SUPPRESS_DEPRECATED_MESSAGES   1
 

Typedefs

using Threads::Barrier = PosixThreadBarrier
 

Functions

unsigned int Threads::n_existing_threads ()
 
unsigned int Threads::this_thread_id ()
 
template<typename ForwardIterator >
std::vector< std::pair< ForwardIterator, ForwardIterator > > Threads::split_range (const ForwardIterator &begin, const ForwardIterator &end, const unsigned int n_intervals)
 
std::vector< std::pair< unsigned int, unsigned int > > Threads::split_interval (const unsigned int begin, const unsigned int end, const unsigned int n_intervals)
 
template<typename RT >
void Threads::internal::call (const std::function< RT()> &function, internal::return_value< RT > &ret_val)
 
void Threads::internal::call (const std::function< void()> &function, internal::return_value< void > &)
 
template<typename RT >
Thread< RT > Threads::new_thread (const std::function< RT()> &function)
 
template<typename FunctionObjectType >
auto Threads::new_thread (FunctionObjectType function_object) -> Thread< decltype(function_object())>
 
template<typename RT , typename... Args>
Thread< RT > Threads::new_thread (RT(*fun_ptr)(Args...), typename identity< Args >::type... args)
 
template<typename RT , typename C , typename... Args>
Thread< RT > Threads::new_thread (RT(C::*fun_ptr)(Args...), typename identity< C >::type &c, typename identity< Args >::type... args)
 
template<typename RT , typename C , typename... Args>
Thread< RT > Threads::new_thread (RT(C::*fun_ptr)(Args...) const, typename identity< const C >::type &c, typename identity< Args >::type... args)
 
template<typename RT >
Task< RT > Threads::new_task (const std::function< RT()> &function)
 
template<typename FunctionObjectType >
auto Threads::new_task (FunctionObjectType function_object) -> Task< decltype(function_object())>
 
template<typename RT , typename... Args>
Task< RT > Threads::new_task (RT(*fun_ptr)(Args...), typename identity< Args >::type... args)
 
template<typename RT , typename C , typename... Args>
Task< RT > Threads::new_task (RT(C::*fun_ptr)(Args...), typename identity< C >::type &c, typename identity< Args >::type... args)
 
template<typename RT , typename C , typename... Args>
Task< RT > Threads::new_task (RT(C::*fun_ptr)(Args...) const, typename identity< const C >::type &c, typename identity< Args >::type... args)
 

Macro Definition Documentation

◆ TBB_SUPPRESS_DEPRECATED_MESSAGES

#define TBB_SUPPRESS_DEPRECATED_MESSAGES   1

Definition at line 42 of file thread_management.h.