1 #ifndef __THREAD_WRAPPER_H 2 #define __THREAD_WRAPPER_H 28 virtual void run() = 0;
69 #endif // __THREAD_WRAPPER_H
thread_wrapper_t()
Definition: thread_wrapper.h:19
Definition: thread_wrapper.h:16
static void thread_init()
Definition: tls.cpp:107
virtual void after_run()
Definition: thread_wrapper.h:32
static void on_thread_destroy()
Destroy TLS structures.
Definition: latch.cpp:567
void spawn()
Definition: thread_wrapper.h:34
static void thread_fini()
Definition: tls.cpp:118
static void add_me_to_thread_list()
Definition: smthread.h:561
virtual ~thread_wrapper_t()
Definition: thread_wrapper.h:21
void join()
Definition: thread_wrapper.h:58
virtual void before_run()
Definition: thread_wrapper.h:30
void fork()
Definition: thread_wrapper.h:52
std::unique_ptr< std::thread > thread_ptr
Definition: thread_wrapper.h:66
static void remove_me_from_thread_list()
Definition: smthread.h:565