#include <thread.test.h>
List of all members.
Public Member Functions |
| | Thread2 (int &res, Mutex &mutex) |
| void | quit () |
| virtual | ~Thread () |
| void | start () |
| | Start the thread.
|
| void | startDetached () |
| | Start the thread in the detached state.
|
| void * | join () |
| | Join the thread.
|
| void | detach () |
| | Put the thread in the detached state.
|
| void | cancel () |
| | Send a cancellation request to the thread.
|
| void | kill (int signal) |
| | Sent a signal to the thread.
|
Protected Member Functions |
| void * | main () |
| | Main thread function, executed in the new thread after creation.
|
| virtual const char * | threadTag () |
| | Short tag describing this thread, used in error messages and identification.
|
| void | testcancel () |
| | Callback function used to start the thread.
|
Constructor & Destructor Documentation
| TestThread::Thread2::Thread2 |
( |
int & |
res, |
|
|
Mutex & |
mutex |
|
) |
| |
|
inline |
Member Function Documentation
| void* TestThread::Thread2::main |
( |
| ) |
|
|
inlineprotectedvirtual |
Main thread function, executed in the new thread after creation.
When main() exits, the new thread ends and main() result will be the thread exit result
Implements wibble::sys::Thread.
| void TestThread::Thread2::quit |
( |
| ) |
|
|
inline |
Member Data Documentation
| bool TestThread::Thread2::done |
|
protected |
| Mutex& TestThread::Thread2::mutex |
|
protected |
| int& TestThread::Thread2::res |
|
protected |
The documentation for this class was generated from the following file: