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

bool TestThread::Thread2::done [protected]

Referenced by main(), and quit().

Referenced by main().

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

Referenced by main().


The documentation for this class was generated from the following file:
Generated on Tue May 11 14:15:24 2010 for wibble by  doxygen 1.6.3