#include <synchro.h>
Inheritance diagram for rpa::thread_join:
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 |
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.
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.
void* rpa::thread_join::_Data [private] |
thread_func_t rpa::thread_join::_Func [private] |