#include <XrdCpMthrQueue.hh>
Public Member Functions | |
XrdCpMthrQueue () | |
~XrdCpMthrQueue () | |
int | PutBuffer (void *buf, long long offs, int len) |
int | GetBuffer (void **buf, long long &offs, int &len) |
int | GetLength () |
void | Clear () |
Private Attributes | |
long | fTotSize |
XrdClientVector< XrdCpMessage * > | fMsgQue |
int | fMsgIter |
XrdSysRecMutex | fMutex |
XrdSysSemWait | fReadSem |
XrdSysCondVar | fWriteCnd |
Definition at line 30 of file XrdCpMthrQueue.hh.
XrdCpMthrQueue::XrdCpMthrQueue | ( | ) |
Definition at line 19 of file XrdCpMthrQueue.cc.
References XrdClientVector< T >::Clear(), fMsgQue, and fTotSize.
XrdCpMthrQueue::~XrdCpMthrQueue | ( | ) |
Definition at line 26 of file XrdCpMthrQueue.cc.
Definition at line 32 of file XrdCpMthrQueue.cc.
References CPMTQ_BUFFSIZE, FALSE, fMsgQue, fMutex, fReadSem, fTotSize, fWriteCnd, m, XrdSysSemWait::Post(), XrdClientVector< T >::Push_back(), TRUE, and XrdSysCondVar::Wait().
Referenced by ReaderThread_loc(), ReaderThread_xrd(), and ReaderThread_xrd_xtreme().
Definition at line 62 of file XrdCpMthrQueue.cc.
References fMsgQue, fMutex, fReadSem, fTotSize, fWriteCnd, XrdClientVector< T >::GetSize(), XrdClientVector< T >::Pop_front(), XrdSysCondVar::Signal(), and XrdSysSemWait::Wait().
Referenced by Clear(), doCp_xrd2loc(), and doCp_xrd2xrd().
int XrdCpMthrQueue::GetLength | ( | ) | [inline] |
Definition at line 49 of file XrdCpMthrQueue.hh.
References fMsgQue, and XrdClientVector< T >::GetSize().
Referenced by doCp_xrd2loc(), and doCp_xrd2xrd().
void XrdCpMthrQueue::Clear | ( | ) |
Definition at line 92 of file XrdCpMthrQueue.cc.
References buf, free(), fTotSize, GetBuffer(), and len.
long XrdCpMthrQueue::fTotSize [private] |
Definition at line 32 of file XrdCpMthrQueue.hh.
Referenced by Clear(), GetBuffer(), PutBuffer(), and XrdCpMthrQueue().
XrdClientVector<XrdCpMessage*> XrdCpMthrQueue::fMsgQue [private] |
Definition at line 33 of file XrdCpMthrQueue.hh.
Referenced by GetBuffer(), GetLength(), PutBuffer(), and XrdCpMthrQueue().
int XrdCpMthrQueue::fMsgIter [private] |
Definition at line 34 of file XrdCpMthrQueue.hh.
XrdSysRecMutex XrdCpMthrQueue::fMutex [private] |
XrdSysSemWait XrdCpMthrQueue::fReadSem [private] |
XrdSysCondVar XrdCpMthrQueue::fWriteCnd [private] |