#include <sync.h>
Private Member Functions | |
| void | run () |
| void | stop () |
| dbPooledThread (dbThreadPool *threadPool) | |
| ~dbPooledThread () | |
Static Private Member Functions | |
| static void thread_proc | pooledThreadFunc (void *arg) |
Private Attributes | |
| dbThread | thread |
| dbThreadPool * | pool |
| dbPooledThread * | next |
| dbThread::thread_proc_t | f |
| void * | arg |
| bool | running |
| dbLocalSemaphore | startSem |
| dbLocalSemaphore | readySem |
Friends | |
| class | dbThreadPool |
| dbPooledThread | ( | dbThreadPool * | threadPool | ) | [private] |
| ~dbPooledThread | ( | ) | [private] |
| void thread_proc pooledThreadFunc | ( | void * | arg | ) | [static, private] |
| void run | ( | ) | [private] |
| void stop | ( | ) | [private] |
friend class dbThreadPool [friend] |
dbThreadPool* pool [private] |
dbPooledThread* next [private] |
dbThread::thread_proc_t f [private] |
void* arg [private] |
bool running [private] |
dbLocalSemaphore startSem [private] |
dbLocalSemaphore readySem [private] |