Definition at line 39 of file threadpool.h.
◆ ThreadPool() [1/2]
| ThreadPool::ThreadPool |
( |
| ) |
|
◆ ThreadPool() [2/2]
| ThreadPool::ThreadPool |
( |
unsigned | size | ) |
|
◆ ~ThreadPool()
| ThreadPool::~ThreadPool |
( |
| ) |
|
◆ __resize()
| void ThreadPool::__resize |
( |
| ) |
|
|
private |
◆ enqueue()
| bool ThreadPool::enqueue |
( |
Worker * | worker | ) |
|
◆ finalize_thread()
| void ThreadPool::finalize_thread |
( |
WorkerThread * | _thread | ) |
|
|
private |
◆ is_queue_empty()
| bool ThreadPool::is_queue_empty |
( |
| ) |
const |
◆ is_stopped()
| bool ThreadPool::is_stopped |
( |
| ) |
const |
◆ is_suspended()
| bool ThreadPool::is_suspended |
( |
| ) |
const |
◆ max_size()
| unsigned NSROOT::OS::ThreadPool::max_size |
( |
| ) |
const |
|
inline |
◆ pop_queue()
| Worker * ThreadPool::pop_queue |
( |
WorkerThread * | _thread | ) |
|
|
private |
◆ queue_size()
| unsigned ThreadPool::queue_size |
( |
| ) |
const |
◆ reset()
| void ThreadPool::reset |
( |
| ) |
|
◆ resume()
| void ThreadPool::resume |
( |
| ) |
|
◆ set_keep_alive()
| void ThreadPool::set_keep_alive |
( |
unsigned | millisec | ) |
|
◆ set_max_size()
| void ThreadPool::set_max_size |
( |
unsigned | size | ) |
|
◆ size()
| unsigned ThreadPool::size |
( |
| ) |
const |
◆ start()
| void ThreadPool::start |
( |
| ) |
|
◆ start_thread()
| void ThreadPool::start_thread |
( |
WorkerThread * | _thread | ) |
|
|
private |
◆ stop()
| void ThreadPool::stop |
( |
| ) |
|
◆ suspend()
| void ThreadPool::suspend |
( |
| ) |
|
◆ wait_empty()
| bool ThreadPool::wait_empty |
( |
| ) |
|
◆ wait_empty_for()
| bool ThreadPool::wait_empty_for |
( |
unsigned | millisec | ) |
|
◆ wait_queue()
| void ThreadPool::wait_queue |
( |
WorkerThread * | _thread | ) |
|
|
private |
◆ WorkerThread
| friend class WorkerThread |
|
friend |
◆ m_condition
| Condition<volatile bool> NSROOT::OS::ThreadPool::m_condition |
|
private |
◆ m_empty
| volatile bool NSROOT::OS::ThreadPool::m_empty |
|
private |
◆ m_keepAlive
| unsigned NSROOT::OS::ThreadPool::m_keepAlive |
|
private |
◆ m_mutex
| Mutex NSROOT::OS::ThreadPool::m_mutex |
|
mutableprivate |
◆ m_pool
| std::set<WorkerThread*> NSROOT::OS::ThreadPool::m_pool |
|
private |
◆ m_poolSize
| unsigned NSROOT::OS::ThreadPool::m_poolSize |
|
private |
◆ m_queue
| std::queue<Worker*> NSROOT::OS::ThreadPool::m_queue |
|
private |
◆ m_queueEmpty
| Event NSROOT::OS::ThreadPool::m_queueEmpty |
|
private |
◆ m_queueFill
| Event NSROOT::OS::ThreadPool::m_queueFill |
|
private |
◆ m_size
| unsigned NSROOT::OS::ThreadPool::m_size |
|
private |
◆ m_stopped
| volatile bool NSROOT::OS::ThreadPool::m_stopped |
|
private |
◆ m_suspended
| volatile bool NSROOT::OS::ThreadPool::m_suspended |
|
private |
◆ m_waitingCount
| unsigned NSROOT::OS::ThreadPool::m_waitingCount |
|
private |
The documentation for this class was generated from the following files:
- /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/os/threads/threadpool.h
- /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/os/threads/threadpool.cpp