Wyatt
1.0.1
|
#include <Thread.h>
Public Member Functions | |
int | start () |
int | join () |
int | detach () |
void | signal (int signal) |
pthread_t | self () |
virtual void * | run ()=0 |
Protected Attributes | |
std::atomic< int > | m_signal |
Java-style implementation of p_threads. Implement this class and override the run() function to run an object on a separate thread. Must call the start() function to start the thread.