#include <XrdClStream.hh>
StreamMutexHelper
A scoped lock for StreamMutex.
Definition at line 129 of file XrdClStream.hh.
◆ StreamMutexHelper() [1/3]
| XrdCl::StreamMutexHelper::StreamMutexHelper |
( |
StreamMutex & | sm | ) |
|
|
inline |
◆ StreamMutexHelper() [2/3]
| XrdCl::StreamMutexHelper::StreamMutexHelper |
( |
StreamMutex & | sm, |
|
|
uint16_t | idx, |
|
|
bool & | isclosing ) |
|
inline |
Definition at line 137 of file XrdClStream.hh.
139 {
140 mtx->Lock( idx, isclosing );
141 if( isclosing )
mtx =
nullptr;
142 }
References mtx.
◆ StreamMutexHelper() [3/3]
| XrdCl::StreamMutexHelper::StreamMutexHelper |
( |
StreamMutex & | sm, |
|
|
const std::function< void()> & | func, |
|
|
bool & | isclosing ) |
|
inline |
Definition at line 144 of file XrdClStream.hh.
146 {
147 mtx->Lock( func, isclosing );
148 if( isclosing )
mtx =
nullptr;
149 }
References mtx.
◆ ~StreamMutexHelper()
| XrdCl::StreamMutexHelper::~StreamMutexHelper |
( |
| ) |
|
|
inline |
◆ UnLock()
| void XrdCl::StreamMutexHelper::UnLock |
( |
| ) |
|
|
inline |
◆ mtx
The documentation for this class was generated from the following file: