terimber_threadpool_factory Class Reference
thread pool factory creates
thread pools the caller is responsible for destroying the
thread pool object but NEVER do it inside client
thread functions (v_has_job or v_do_job)
More...
#include <threadpoolfactory.h>
List of all members.
Detailed Description
thread pool factory creates
thread pools the caller is responsible for destroying the
thread pool object but NEVER do it inside client
thread functions (v_has_job or v_do_job)
Definition at line 104 of file threadpoolfactory.h.
Constructor & Destructor Documentation
terimber_threadpool_factory::terimber_threadpool_factory |
( |
|
) |
|
terimber_threadpool_factory::~terimber_threadpool_factory |
( |
|
) |
|
Member Function Documentation
creates terimber thread pool object caller is responsible for destroying it
- Parameters:
-
log |
logging pointer |
capacity |
how many threads can be opened and used simultaniously |
deactivate_time_msec |
deactivate_time_msec is interval in milliseconds (minimum 100 msec) after that all unused threads returned to the pool will be closed |
Definition at line 47 of file threadpool.cpp.
The documentation for this class was generated from the following files: