TestThread::Thread2 Class Reference

#include <thread.test.h>

Inheritance diagram for TestThread::Thread2:
[legend]
Collaboration diagram for TestThread::Thread2:
[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.

References done, mutex, and res.

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

References done.

Referenced by TestThread::sharedMemory().


Member Data Documentation

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

Referenced by main().

Referenced by main().

bool TestThread::Thread2::done [protected]

Referenced by main(), and quit().


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

Generated on Sun Nov 16 04:16:25 2008 for wibble by  doxygen 1.5.6