$extrastylesheet
threads.h File Reference

Go to the source code of this file.

Classes

class  libMesh::Threads::BoolAcquire
class  libMesh::Threads::Thread
class  libMesh::Threads::atomic< T >
class  libMesh::Threads::spin_mutex
class  libMesh::Threads::spin_mutex::scoped_lock
class  libMesh::Threads::spin_mutex
class  libMesh::Threads::spin_mutex::scoped_lock
class  libMesh::Threads::recursive_mutex
class  libMesh::Threads::recursive_mutex::scoped_lock
class  libMesh::Threads::RangeBody< Range, Body >
class  libMesh::Threads::task_scheduler_init
class  libMesh::Threads::split
class  libMesh::Threads::atomic< T >
class  libMesh::Threads::task_scheduler_init
class  libMesh::Threads::split
class  libMesh::Threads::spin_mutex
class  libMesh::Threads::spin_mutex::scoped_lock
class  libMesh::Threads::recursive_mutex
class  libMesh::Threads::recursive_mutex::scoped_lock
class  libMesh::Threads::atomic< T >
class  libMesh::Threads::BlockedRange< T >

Namespaces

namespace  libMesh
namespace  libMesh::Threads

Typedefs

typedef std::thread libMesh::Threads::Thread
typedef tbb::task_scheduler_init libMesh::Threads::task_scheduler_init
typedef tbb::split libMesh::Threads::split
typedef tbb::spin_mutex libMesh::Threads::spin_mutex
typedef tbb::recursive_mutex libMesh::Threads::recursive_mutex

Functions

template<typename Range , typename Body >
void libMesh::Threads::parallel_for (const Range &range, const Body &body)
template<typename Range , typename Body , typename Partitioner >
void libMesh::Threads::parallel_for (const Range &range, const Body &body, const Partitioner &partitioner)
template<typename Range , typename Body >
void libMesh::Threads::parallel_reduce (const Range &range, Body &body)
template<typename Range , typename Body , typename Partitioner >
void libMesh::Threads::parallel_reduce (const Range &range, Body &body, const Partitioner &partitioner)
unsigned int libMesh::Threads::pthread_unique_id ()
template<typename Range >
unsigned int libMesh::Threads::num_pthreads (Range &range)
template<typename Range , typename Body >
void * libMesh::Threads::run_body (void *args)

Variables

bool libMesh::Threads::in_threads = false
std::map< pthread_t, unsigned int > libMesh::Threads::_pthread_unique_ids
spin_mutex libMesh::Threads::_pthread_unique_id_mutex
spin_mutex libMesh::Threads::spin_mtx
recursive_mutex libMesh::Threads::recursive_mtx