libMesh
Classes | Namespaces | Variables
threads.h File Reference

Go to the source code of this file.

Classes

class  libMesh::Threads::BoolAcquire
 We use a class to turn Threads::in_threads on and off, to be exception-safe. More...
 
class  libMesh::Threads::NonConcurrentThread
 Simple compatibility class for std::thread 'concurrent' execution. More...
 
class  libMesh::Threads::BlockedRange< T >
 Blocked range which can be subdivided and executed in parallel. More...
 

Namespaces

 libMesh
 The libMesh namespace provides an interface to certain functionality in the library.
 
 libMesh::Threads
 The Threads namespace is for wrapper functions for common general multithreading algorithms and tasks.
 

Variables

bool libMesh::Threads::in_threads = false
 A boolean which is true iff we are in a Threads:: function It may be useful to assert(!Threadsin_threads) in any code which is known to not be thread-safe. More...
 
spin_mutex libMesh::Threads::spin_mtx
 A convenient spin mutex object which can be used for obtaining locks. More...
 
recursive_mutex libMesh::Threads::recursive_mtx
 A convenient recursive mutex object which can be used for obtaining locks. More...