rpa::thread_join Class Reference

Pseudo-parallel thread class for making deterministic tests. More...

#include <synchro.h>

Inheritance diagram for rpa::thread_join:

rpa::thread_fast_t< thread_join, Mtx > List of all members.

Public Member Functions

int create (thread_func_t aFunc, void *aData)
 The function is executed by the main thread when it calls the method 'join'.
void join (void)
 Executed by the main thread.

Private Attributes

thread_func_t _Func
void * _Data

Detailed Description

Pseudo-parallel thread class for making deterministic tests.

The role of this thread is to make better single-threaded tests : All the code for multi-threading is there, and executed, but all possibility of race conditions is eliminated.


Member Function Documentation

int rpa::thread_join::create ( thread_func_t  aFunc,
void *  aData 
) [inline]

The function is executed by the main thread when it calls the method 'join'.

void rpa::thread_join::join ( void   )  [inline]

Executed by the main thread.


Member Data Documentation

void* rpa::thread_join::_Data [private]

thread_func_t rpa::thread_join::_Func [private]


The documentation for this class was generated from the following file:
Generated on Tue Sep 25 10:20:38 2007 for rpa by  doxygen 1.4.7