Wyatt  1.0.1
Public Member Functions | Protected Attributes | List of all members
Thread Class Referenceabstract

#include <Thread.h>

Inheritance diagram for Thread:
Inheritance graph
[legend]

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
 

Detailed Description

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.

Definition at line 32 of file Thread.h.


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