Fermat
|
A thread class, which is meant to be derived from to construct user-defined threads
DerivedThreadType | the derived thread class, which must implement a single method: // run the user-defined thread void run(); |
e.g.
#include <threads.h>
Public Methods | |
void | create () |
create the thread | |
void | join () |
join the thread | |
Public Methods inherited from cugar::ThreadBase | |
void | set_id (const uint32 id) |
uint32 | get_id () const |
CUGAR_API void | create (void *(*func)(void *), void *arg) |
create the thread | |
CUGAR_API void | join () |
join the thread | |