Go to the documentation of this file.
25 #ifndef __XRD_CL_REQUEST_SYNC_HH__
26 #define __XRD_CL_REQUEST_SYNC_HH__
113 #endif // __XRD_CL_REQUEST_SYNC_HH__
Definition: XrdSysPthread.hh:165
RequestSync & operator=(const RequestSync &other)
XrdSysSemaphore * pTotalSem
Definition: XrdClRequestSync.hh:107
RequestSync(uint32_t reqTotal, uint32_t reqQuota)
Definition: XrdClRequestSync.hh:44
void Wait()
Definition: XrdSysPthread.hh:453
Definition: XrdSysPthread.hh:438
void WaitForAll()
Wait for all the requests to be finished.
Definition: XrdClRequestSync.hh:74
A helper running a fixed number of requests at a given time.
Definition: XrdClRequestSync.hh:36
~RequestSync()
Destructor.
Definition: XrdClRequestSync.hh:57
RequestSync(const RequestSync &other)
uint32_t FailureCount() const
Number of tasks finishing with an error.
Definition: XrdClRequestSync.hh:96
Definition: XrdClAnyObject.hh:26
XrdSysSemaphore * pQuotaSem
Definition: XrdClRequestSync.hh:106
uint32_t pFailureCounter
Definition: XrdClRequestSync.hh:109
uint32_t pRequestsLeft
Definition: XrdClRequestSync.hh:108
void WaitForQuota()
Wait for the request quota.
Definition: XrdClRequestSync.hh:66
XrdSysMutex pMutex
Definition: XrdClRequestSync.hh:105
Definition: XrdSysPthread.hh:263
void TaskDone(bool success=true)
Report the request finish.
Definition: XrdClRequestSync.hh:82
void Post()
Definition: XrdSysPthread.hh:449