Zero  0.1.0
Public Member Functions | Private Attributes | List of all members
thread_wrapper_t Class Referenceabstract

#include <thread_wrapper.h>

Inheritance diagram for thread_wrapper_t:
basethread_t CrashThread< Env > FailureThread fetch_buffer_loader_t flush_daemon_thread_t LogArchiver PageIterator partition_recycler_t thread_t ticker_thread_t worker_thread_t WriterThread

Public Member Functions

 thread_wrapper_t ()
 
virtual ~thread_wrapper_t ()
 
virtual void run ()=0
 
virtual void before_run ()
 
virtual void after_run ()
 
void spawn ()
 
void fork ()
 
void join ()
 

Private Attributes

std::unique_ptr< std::thread > thread_ptr
 

Constructor & Destructor Documentation

§ thread_wrapper_t()

thread_wrapper_t::thread_wrapper_t ( )
inline

§ ~thread_wrapper_t()

virtual thread_wrapper_t::~thread_wrapper_t ( )
inlinevirtual

Member Function Documentation

§ after_run()

virtual void thread_wrapper_t::after_run ( )
inlinevirtual

Reimplemented in basethread_t.

§ before_run()

virtual void thread_wrapper_t::before_run ( )
inlinevirtual

Reimplemented in basethread_t.

§ fork()

void thread_wrapper_t::fork ( )
inline

§ join()

void thread_wrapper_t::join ( )
inline

§ run()

virtual void thread_wrapper_t::run ( )
pure virtual

§ spawn()

void thread_wrapper_t::spawn ( )
inline

Member Data Documentation

§ thread_ptr

std::unique_ptr<std::thread> thread_wrapper_t::thread_ptr
private

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