Opm::ThreadHandle Class Reference

Classes

class  EndObject
 
class  ObjectInterface
 
class  ObjectWrapper
 
class  ThreadHandleQueue
 

Public Member Functions

 ThreadHandle (const bool createThread)
 constructor creating ThreadHandle More...
 
template<class Object >
void dispatch (Object &&obj)
 dispatch object to queue of separate thread
 
 ~ThreadHandle ()
 destructor terminating the thread
 

Static Protected Member Functions

static void startThread (ThreadHandleQueue *obj)
 

Protected Attributes

ThreadHandleQueue threadObjectQueue_
 
std::unique_ptr< std::thread > thread_
 

Constructor & Destructor Documentation

◆ ThreadHandle()

Opm::ThreadHandle::ThreadHandle ( const bool  createThread)
inline

constructor creating ThreadHandle

Parameters
isIORankif true thread is created

The documentation for this class was generated from the following file: