|
xrootd
|
#include <XrdClSyncQueue.hh>

Public Member Functions | |
| SyncQueue () | |
| Constructor. | |
| ~SyncQueue () | |
| Destructor. | |
| void | Put (const Item &item) |
| Put the item in the queue. | |
| Item | Get () |
| Get the item from the front of the queue. | |
| void | Clear () |
| Clear the queue. | |
Private Attributes | |
| std::queue< Item > | pQueue |
| XrdSysMutex | pMutex |
| XrdSysSemaphore * | pSem |
A synchronized queue.
| XrdCl::SyncQueue< Item >::SyncQueue | ( | ) | [inline] |
Constructor.
| XrdCl::SyncQueue< Item >::~SyncQueue | ( | ) | [inline] |
Destructor.
| void XrdCl::SyncQueue< Item >::Clear | ( | ) | [inline] |
Clear the queue.
Referenced by XrdCl::JobManager::Finalize().
| Item XrdCl::SyncQueue< Item >::Get | ( | ) | [inline] |
Get the item from the front of the queue.
Referenced by XrdCl::JobManager::RunJobs().
| void XrdCl::SyncQueue< Item >::Put | ( | const Item & | item | ) | [inline] |
Put the item in the queue.
Referenced by XrdCl::JobManager::QueueJob().
XrdSysMutex XrdCl::SyncQueue< Item >::pMutex [private] |
std::queue<Item> XrdCl::SyncQueue< Item >::pQueue [private] |
XrdSysSemaphore* XrdCl::SyncQueue< Item >::pSem [private] |
1.7.6.1