Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Typedefs | Enumerations | Functions
Thread.h File Reference
#include <queue>
#include <vector>
#include <boost/thread/mutex.hpp>
#include <boost/thread/locks.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/thread/thread.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <LibUtilities/BasicUtils/NekFactory.hpp>
#include <loki/Singleton.h>
Include dependency graph for Thread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Nektar::Thread::ThreadJob
 Base class for tasks to be sent to the ThreadManager to run. More...
 
class  Nektar::Thread::ThreadManager
 The interface class for the controller for worker threads and jobs. More...
 
class  Nektar::Thread::ThreadMaster
 
class  Nektar::Thread::ThreadStartupManager
 A default ThreadManager. More...
 

Namespaces

 Nektar
 <
 
 Nektar::Thread
 

Typedefs

typedef boost::shared_ptr
< ThreadManager > 
Nektar::Thread::ThreadManagerSharedPtr
 
typedef
LibUtilities::NekFactory
< std::string, ThreadManager,
unsigned int > 
Nektar::Thread::ThreadManagerFactory
 
typedef boost::unique_lock
< boost::shared_mutex > 
Nektar::Thread::WriteLock
 
typedef boost::shared_lock
< boost::shared_mutex > 
Nektar::Thread::ReadLock
 

Enumerations

enum  Nektar::Thread::SchedType { Nektar::Thread::e_guided, Nektar::Thread::e_dynamic }
 Identifies the algorithm for scheduling. More...
 

Functions

ThreadManagerFactory & Nektar::Thread::GetThreadManagerFactory ()
 
ThreadMaster & Nektar::Thread::GetThreadMaster ()