#include <XrdXrootdPio.hh>
Definition at line 39 of file XrdXrootdPio.hh.
◆ XrdXrootdPio()
◆ ~XrdXrootdPio()
XrdXrootdPio::~XrdXrootdPio |
( |
| ) |
|
|
inline |
◆ Alloc()
Definition at line 45 of file XrdXrootdPio.cc.
46{
48
49
50
51
52 myMutex.Lock();
53 if ((qp = Free))
54 {do {FreeNum--; Num--; lqp = Free;}
55 while((Free = Free->Next) && Num);
57 }
58 myMutex.UnLock();
59
60
61
63
64
65
66 return qp;
67}
XrdXrootdPio(XrdXrootdPio *np=0)
References XrdXrootdPio(), and Next.
◆ Clear()
◆ Recycle()
void XrdXrootdPio::Recycle |
( |
| ) |
|
Definition at line 73 of file XrdXrootdPio.cc.
74{
75
76
77
78 myMutex.Lock();
79 if (FreeNum >= FreeMax) {myMutex.UnLock(); delete this; return;}
80
81
82
83 Free =
Clear(Free); FreeNum++;
84 myMutex.UnLock();
85}
References Clear().
◆ Set()
◆ IO
◆ Next
◆ ResumePio
int(XrdXrootdProtocol::* XrdXrootdPio::ResumePio) () |
◆ StreamID
The documentation for this class was generated from the following files: