Belle II Software  release-08-01-10
PThread Class Reference

Public Member Functions

template<class WORKER >
 PThread (WORKER *worker, bool destroyed=true, bool detached=true, [[maybe_unused]] const std::string &thread_name="")
 
pthread_t id ()
 
pthread_t get_id ()
 
bool kill (int signo)
 
bool is_alive ()
 
bool detach ()
 
bool join ()
 
bool cancel ()
 

Static Public Member Functions

static void exit ()
 

Static Private Member Functions

template<class WORKER >
static void destroy (void *arg)
 
template<class WORKER >
static void * create_destroy (void *arg)
 
template<class WORKER >
static void * create (void *arg)
 

Private Attributes

pthread_t m_th
 

Detailed Description

Definition at line 23 of file PThread.h.


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