#include <synchro.h>
Public Member Functions | |
| thread_pool () | |
| int | create (thread_func_t aFunc, void *aData) |
Static Private Member Functions | |
| static void * | func (void *aVoid) |
Private Attributes | |
| thread_pool * | _next |
| thread_func_t | _Func |
| void * | _Data |
Static Private Attributes | |
| static const unsigned int | cstLimList = 5 |
| rpa::thread_pool< Thr >::thread_pool | ( | ) | [inline] |
| int rpa::thread_pool< Thr >::create | ( | thread_func_t | aFunc, | |
| void * | aData | |||
| ) | [inline] |
| static void* rpa::thread_pool< Thr >::func | ( | void * | aVoid | ) | [inline, static, private] |
void* rpa::thread_pool< Thr >::_Data [private] |
thread_func_t rpa::thread_pool< Thr >::_Func [private] |
thread_pool* rpa::thread_pool< Thr >::_next [private] |
const unsigned int rpa::thread_pool< Thr >::cstLimList = 5 [static, private] |
When a thread is finished, it explores in the thread list, which one did not started yet. But it does not explore too far, just a couple of threads : This number of steps.
1.4.7