|
Pol
Revision:cb584c9
|
Inheritance diagram for Pol::threadhelp::DynTaskThreadPool::PoolWorker:Classes | |
| struct | BusyGuard |
Public Member Functions | |
| PoolWorker (DynTaskThreadPool *parent, const std::string &name) | |
| bool | isbusy () const |
| void | join () |
| void | run () |
Private Attributes | |
| bool | _busy |
| std::string | _name |
| DynTaskThreadPool * | _parent |
| std::thread | _thread |
Definition at line 435 of file threadhelp.cpp.
| Pol::threadhelp::DynTaskThreadPool::PoolWorker::PoolWorker | ( | DynTaskThreadPool * | parent, |
| const std::string & | name | ||
| ) |
Definition at line 455 of file threadhelp.cpp.
References run().
| bool Pol::threadhelp::DynTaskThreadPool::PoolWorker::isbusy | ( | ) | const |
Definition at line 460 of file threadhelp.cpp.
References _busy.
| void Pol::threadhelp::DynTaskThreadPool::PoolWorker::join | ( | ) |
Definition at line 465 of file threadhelp.cpp.
References _thread.
| void Pol::threadhelp::DynTaskThreadPool::PoolWorker::run | ( | ) |
Definition at line 470 of file threadhelp.cpp.
References _busy, Pol::threadhelp::DynTaskThreadPool::_done, Pol::threadhelp::DynTaskThreadPool::_msg_queue, _name, _parent, _thread, ERROR_PRINT, Pol::Clib::exit_signalled, Pol::Clib::force_backtrace(), and Pol::Clib::message_queue< Message >::pop_wait().
Referenced by PoolWorker().
|
private |
Definition at line 445 of file threadhelp.cpp.
|
private |
Definition at line 444 of file threadhelp.cpp.
Referenced by run().
|
private |
Definition at line 447 of file threadhelp.cpp.
Referenced by run().
|
private |
Definition at line 446 of file threadhelp.cpp.