TestThread::Thread2 Class Reference
#include <thread.test.h>
List of all members.
Public Member Functions |
| Thread2 (int &res, Mutex &mutex) |
void | quit () |
Protected Member Functions |
void * | main () |
| Main thread function, executed in the new thread after creation.
|
Protected Attributes |
int & | res |
Mutex & | mutex |
bool | done |
Constructor & Destructor Documentation
TestThread::Thread2::Thread2 |
( |
int & |
res, |
|
|
Mutex & |
mutex | |
|
) |
| | [inline] |
Member Function Documentation
void* TestThread::Thread2::main |
( |
|
) |
[inline, protected, virtual] |
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.
References done, mutex, and res.
void TestThread::Thread2::quit |
( |
|
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: