clan::Thread Class Reference

Thread class. More...

#include <thread.h>

Public Member Functions

Construction
 Thread ()
 Constructs a thread object. More...
 
 ~Thread ()
 

Operations

void start (Runnable *runnable)
 Starts a thread. More...
 
template<class C >
void start (C *instance, void(C::*member)())
 
template<class C , class P1 >
void start (C *instance, void(C::*member)(P1 p1), P1 p1)
 
template<class C , class P1 , class P2 >
void start (C *instance, void(C::*member)(P1 p1, P2 p2), P1 p1, P2 p2)
 
template<class C , class P1 , class P2 , class P3 >
void start (C *instance, void(C::*member)(P1 p1, P2 p2, P3 p3), P1 p1, P2 p2, P3 p3)
 
template<class C , class P1 , class P2 , class P3 , class P4 >
void start (C *instance, void(C::*member)(P1 p1, P2 p2, P3 p3, P4 p4), P1 p1, P2 p2, P3 p3, P4 p4)
 
template<class C , class P1 , class P2 , class P3 , class P4 , class P5 >
void start (C *instance, void(C::*member)(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5), P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)
 
void join ()
 Blocks until thread has completed its execution. More...
 
void kill ()
 Terminates the thread. More...
 
static void set_thread_name (const char *name)
 Sets the name (displayed in debuggers) of the calling thread. More...
 

Detailed Description

Thread class.


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