https://mooseframework.inl.gov
Namespaces | Classes | Typedefs | Functions | Variables
libMesh::Threads Namespace Reference

Namespaces

 scalable_allocator
 
 spin_mutex
 

Classes

class  atomic
 
class  BlockedRange
 
class  DisablePerfLogInScope
 
class  NonConcurrentThread
 
class  RAIIAcquire
 
class  RangeBody
 
class  recursive_mutex
 
class  scalable_allocator
 
class  spin_mutex
 
class  split
 
class  task_scheduler_init
 

Typedefs

typedef RAIIAcquire< bool, true, true > BoolAcquire
 
typedef NonConcurrentThread Thread
 
typedef tbb::spin_mutex spin_mutex
 
typedef tbb::task_scheduler_init task_scheduler_init
 
typedef tbb::split split
 
typedef tbb::recursive_mutex recursive_mutex
 

Functions

void lock_singleton_spin_mutex ()
 
void unlock_singleton_spin_mutex ()
 
void parallel_for (const Range &range, const Body &body, unsigned int n_threads=libMesh::n_threads())
 
void parallel_for (const Range &range, const Body &body, const Partitioner &, unsigned int n_threads=libMesh::n_threads())
 
void parallel_reduce (const Range &range, Body &body, unsigned int n_threads=libMesh::n_threads())
 
void parallel_reduce (const Range &range, Body &body, const Partitioner &, unsigned int n_threads=libMesh::n_threads())
 
unsigned int num_pthreads (const Range &range, unsigned int requested=libMesh::n_threads())
 
voidrun_body (void *args)
 

Variables

int active_threads
 
bool in_threads
 
spin_mutex spin_mtx
 
recursive_mutex recursive_mtx