class Thread
{
static void* entrypoint(void *parameters);
- bool exists() { return tid != ((pthread_t)-1); }
protected:
virtual void run() = 0;
int enable_cancel();
int disable_cancel();
int get_cancel_enabled();
+ bool exists() { return tid != ((pthread_t)-1); }
bool running() { return exists() && !finished; }
int get_synchronous();