XRootD
Loading...
Searching...
No Matches
XrdCl::barrier_t Class Reference
Collaboration diagram for XrdCl::barrier_t:

Public Member Functions

 barrier_t (XrdSysSemaphore &sem)
 ~barrier_t ()
 Destructor.
XrdSysSemaphoreget ()

Detailed Description

Barrier for synchronizing the asynchronous execution of actions It is actually a wrapper around semaphore.

Definition at line 190 of file XrdClReplay.cc.

Constructor & Destructor Documentation

◆ barrier_t()

XrdCl::barrier_t::barrier_t ( XrdSysSemaphore & sem)
inline

Constructor

Parameters
sem: the semaphore

Definition at line 197 of file XrdClReplay.cc.

198 : sem(sem)
199 {
200 }

◆ ~barrier_t()

XrdCl::barrier_t::~barrier_t ( )
inline

Destructor.

Definition at line 205 of file XrdClReplay.cc.

205{ sem.Post(); }

Member Function Documentation

◆ get()

XrdSysSemaphore & XrdCl::barrier_t::get ( )
inline

Definition at line 207 of file XrdClReplay.cc.

207{ return sem; }

The documentation for this class was generated from the following file: