|
Scroom 0.14-49-gb7ae7a6d
|

Public Types | |
| using | Ptr = std::shared_ptr< ThreadList > |
Public Member Functions | |
| void | wait () |
| void | add (const ThreadPool::ThreadPtr &t) |
| void | add (const std::shared_ptr< void > &t, const std::string &s) |
Static Public Member Functions | |
| static Ptr | instance () |
Private Member Functions | |
| void | dumpPointers () |
Private Attributes | |
| boost::mutex | mut |
| std::list< ThreadPool::ThreadPtr > | threads |
| std::list< std::pair< std::weak_ptr< void >, std::string > > | pointers |
| Scroom::Logger | logger |
List of threads to wait for (when terminating)
| using anonymous_namespace{threadpoolimpl.cc}::ThreadList::Ptr = std::shared_ptr<ThreadList> |
| void anonymous_namespace{threadpoolimpl.cc}::ThreadList::add | ( | const std::shared_ptr< void > & | t, |
| const std::string & | s | ||
| ) |
| void anonymous_namespace{threadpoolimpl.cc}::ThreadList::add | ( | const ThreadPool::ThreadPtr & | t | ) |
|
private |
|
static |
Referenced by ThreadPool::add(), and anonymous_namespace{threadpoolimpl.cc}::NotifyThreadList().

| void anonymous_namespace{threadpoolimpl.cc}::ThreadList::wait | ( | ) |

|
private |
|
private |
|
private |
|
private |