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 | Functions
Threads::internal Namespace Reference

Classes

struct  maybe_make_ref
 
struct  maybe_make_ref< T & >
 
struct  return_value
 
struct  return_value< RT & >
 
struct  return_value< void >
 
struct  TaskDescriptor
 
struct  TaskEntryPoint
 
struct  ThreadDescriptor
 

Functions

template<typename RT >
void call (const std::function< RT()> &function, internal::return_value< RT > &ret_val)
 
void call (const std::function< void()> &function, internal::return_value< void > &)
 
static std::atomic< unsigned intn_existing_threads_counter (1)
 
void register_thread ()
 
void deregister_thread ()
 
void handle_std_exception (const std::exception &exc)
 
void handle_unknown_exception ()
 

Function Documentation

◆ call() [1/2]

template<typename RT >
void Threads::internal::call ( const std::function< RT()> &  function,
internal::return_value< RT > &  ret_val 
)
inline

Definition at line 607 of file thread_management.h.

◆ call() [2/2]

void Threads::internal::call ( const std::function< void()> &  function,
internal::return_value< void > &   
)
inline

Definition at line 615 of file thread_management.h.

◆ n_existing_threads_counter()

static std::atomic<unsigned int> Threads::internal::n_existing_threads_counter ( )
static

◆ register_thread()

void Threads::internal::register_thread ( )

Definition at line 38 of file thread_management.cc.

◆ deregister_thread()

void Threads::internal::deregister_thread ( )

Definition at line 46 of file thread_management.cc.

◆ handle_std_exception()

void Threads::internal::handle_std_exception ( const std::exception &  exc)

Definition at line 55 of file thread_management.cc.

◆ handle_unknown_exception()

void Threads::internal::handle_unknown_exception ( )

Definition at line 93 of file thread_management.cc.