![]() |
ATLAS Offline Software
|
This class handles a collection of threads. More...
#include <ONCRPCThreadCollection.h>
Public Member Functions | |
| ThreadCollection () | |
| ~ThreadCollection () | |
Private Attributes | |
| T | elements |
| STL member. | |
Public interface functions | |
| std::mutex | m_mutex |
| sem_t | m_semaphore |
| void | AddThread (const pthread_t &thread) |
| void | WaitAdd () |
| void | RemoveThread (const pthread_t &thread) |
| void | JoinAll () |
| int | NumberOfThreads () |
This class handles a collection of threads.
Definition at line 18 of file ONCRPCThreadCollection.h.
| JiveXML::ThreadCollection::ThreadCollection | ( | ) |
Definition at line 11 of file ONCRPCThreadCollection.cxx.
| JiveXML::ThreadCollection::~ThreadCollection | ( | ) |
Definition at line 19 of file ONCRPCThreadCollection.cxx.
| void JiveXML::ThreadCollection::AddThread | ( | const pthread_t & | thread | ) |
Definition at line 28 of file ONCRPCThreadCollection.cxx.
| void JiveXML::ThreadCollection::JoinAll | ( | ) |
Definition at line 76 of file ONCRPCThreadCollection.cxx.
| int JiveXML::ThreadCollection::NumberOfThreads | ( | ) |
Definition at line 105 of file ONCRPCThreadCollection.cxx.
| void JiveXML::ThreadCollection::RemoveThread | ( | const pthread_t & | thread | ) |
Definition at line 49 of file ONCRPCThreadCollection.cxx.
| void JiveXML::ThreadCollection::WaitAdd | ( | ) |
Definition at line 42 of file ONCRPCThreadCollection.cxx.
|
inherited |
STL member.
|
private |
Definition at line 49 of file ONCRPCThreadCollection.h.
|
private |
Definition at line 51 of file ONCRPCThreadCollection.h.