hpx/parcelport_libfabric/readers_writers_mutex.hpp

See Public API for a list of names and headers that are part of the public HPX API.

Defines

RWL_DEBUG_MSG(x)
atomic_xadd(P, V)
cmpxchg(P, O, N)
atomic_inc(P)
rwl_barrier_()
namespace hpx
namespace lcos
namespace local
class readers_writer_mutex

Public Functions

readers_writer_mutex()
void lock()
void unlock()
bool try_lock()
void lock_shared()
void unlock_shared()
bool try_lock_shared()
bool owns_lock()

Private Members

readwrite_ticket ticket
bool readlock_
union readwrite_ticket

Public Members

uint64_t u
uint32_t wr
struct hpx::lcos::local::readers_writer_mutex::readwrite_ticket::[anonymous] i
uint16_t writers
uint16_t readers
uint16_t next
uint16_t notused
struct hpx::lcos::local::readers_writer_mutex::readwrite_ticket::[anonymous] s