|
LibreOffice Module cppu (master) 1
|
#include <threadpool.hxx>
Public Member Functions | |
| ThreadAdmin () | |
| ~ThreadAdmin () | |
| void | remove (rtl::Reference< ORequestThread > const &) |
| void | join () |
| bool | add_locked (rtl::Reference< ORequestThread > const &) |
| void | remove_locked (rtl::Reference< ORequestThread > const &) |
Public Attributes | |
| std::mutex | m_mutex |
Private Attributes | |
| std::deque< rtl::Reference< ORequestThread > > | m_deque |
| bool | m_disposed |
Definition at line 96 of file threadpool.hxx.
| cppu_threadpool::ThreadAdmin::ThreadAdmin | ( | ) |
Definition at line 39 of file thread.cxx.
References m_disposed.
| cppu_threadpool::ThreadAdmin::~ThreadAdmin | ( | ) |
Definition at line 41 of file thread.cxx.
References m_deque, and SAL_WARN_IF.
| bool cppu_threadpool::ThreadAdmin::add_locked | ( | rtl::Reference< ORequestThread > const & | p | ) |
Definition at line 46 of file thread.cxx.
References m_deque, m_disposed, and p.
Referenced by cppu_threadpool::ORequestThread::launch().
| void cppu_threadpool::ThreadAdmin::join | ( | ) |
Definition at line 67 of file thread.cxx.
References m_deque, m_disposed, and m_mutex.
Referenced by cppu_threadpool::ThreadPool::joinWorkers().
| void cppu_threadpool::ThreadAdmin::remove | ( | rtl::Reference< ORequestThread > const & | p | ) |
Definition at line 61 of file thread.cxx.
References m_mutex, p, and remove_locked().
| void cppu_threadpool::ThreadAdmin::remove_locked | ( | rtl::Reference< ORequestThread > const & | p | ) |
Definition at line 56 of file thread.cxx.
Referenced by cppu_threadpool::ORequestThread::launch(), and remove().
|
private |
Definition at line 110 of file threadpool.hxx.
Referenced by add_locked(), join(), remove_locked(), and ~ThreadAdmin().
|
private |
Definition at line 111 of file threadpool.hxx.
Referenced by add_locked(), and join().
| std::mutex cppu_threadpool::ThreadAdmin::m_mutex |
Definition at line 107 of file threadpool.hxx.
Referenced by join(), cppu_threadpool::ORequestThread::launch(), and remove().