version 1.28, 2002/06/07 00:56:01
|
version 1.29, 2002/06/07 15:17:13
|
|
|
static int kill_idle_threads(void); | static int kill_idle_threads(void); |
static int pooled_threads(void) | static int pooled_threads(void) |
{ | { |
return _thread_pool.running_count() + _thread_pool.dead_count() + _thread_pool.pool_count(); |
return _thread_pool->running_count() + _thread_pool->dead_count() + _thread_pool->pool_count(); |
} | } |
| |
Uint32 _mask; | Uint32 _mask; |
|
|
Thread _req_thread; | Thread _req_thread; |
Thread _callback_thread; | Thread _callback_thread; |
protected: | protected: |
static ThreadPool _thread_pool; |
static ThreadPool *_thread_pool; |
private: | private: |
struct timeval _default_op_timeout; | struct timeval _default_op_timeout; |
static AtomicInt _xid; | static AtomicInt _xid; |