25 #ifndef __XRD_CL_REQUEST_SYNC_HH__
26 #define __XRD_CL_REQUEST_SYNC_HH__
47 pRequestsLeft( reqTotal ),
98 return pFailureCounter;
108 uint32_t pRequestsLeft;
109 uint32_t pFailureCounter;
A helper running a fixed number of requests at a given time.
void WaitForAll()
Wait for all the requests to be finished.
RequestSync(uint32_t reqTotal, uint32_t reqQuota)
void TaskDone(bool success=true)
Report the request finish.
uint32_t FailureCount() const
Number of tasks finishing with an error.
void WaitForQuota()
Wait for the request quota.
~RequestSync()
Destructor.