wibble 0.1.28
Public Member Functions | Protected Member Functions | Protected Attributes
TestThread::Thread2 Class Reference

#include <thread.test.h>

Inheritance diagram for TestThread::Thread2:
Inheritance graph
[legend]
Collaboration diagram for TestThread::Thread2:
Collaboration graph
[legend]

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
Mutexmutex
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.

void TestThread::Thread2::quit ( ) [inline]

Member Data Documentation

bool TestThread::Thread2::done [protected]
int& TestThread::Thread2::res [protected]

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