![]() |
XRootD
|
A synchronized queue. More...
#include <XrdClSyncQueue.hh>
Public Member Functions | |
SyncQueue () | |
Constructor. | |
~SyncQueue () | |
Destructor. | |
void | Clear () |
Clear the queue. | |
Item | Get () |
Get the item from the front of the queue. | |
bool | IsEmpty () |
Check if the queue is empty. | |
void | Put (const Item &item) |
Put the item in the queue. | |
Protected Attributes | |
XrdSysMutex | pMutex |
std::queue< Item > | pQueue |
XrdSysSemaphore * | pSem |
A synchronized queue.
Definition at line 32 of file XrdClSyncQueue.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Get the item from the front of the queue.
Definition at line 64 of file XrdClSyncQueue.hh.
|
inline |
Check if the queue is empty.
Definition at line 93 of file XrdClSyncQueue.hh.
|
inline |
Put the item in the queue.
Definition at line 54 of file XrdClSyncQueue.hh.
|
protected |
|
protected |
|
protected |
Definition at line 102 of file XrdClSyncQueue.hh.
Referenced by SyncQueue(), ~SyncQueue(), Clear(), Get(), and Put().