Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::FIFOMutex Class Reference

#include <mutex.h>

Inheritance diagram for Realm::FIFOMutex:
[legend]
Collaboration diagram for Realm::FIFOMutex:
[legend]

Public Types

typedef FIFOCondVar CondVar

Public Member Functions

 FIFOMutex ()
void lock ()
bool trylock ()
void unlock ()

Protected Member Functions

void lock_slow ()
void unlock_slow ()
Protected Member Functions inherited from Realm::noncopyable
 noncopyable ()
 ~noncopyable ()

Protected Attributes

atomic< uint32_t > state
DoorbellList db_list

Friends

class FIFOCondVar

Member Typedef Documentation

◆ CondVar

Constructor & Destructor Documentation

◆ FIFOMutex()

Realm::FIFOMutex::FIFOMutex ( )

Member Function Documentation

◆ lock()

void Realm::FIFOMutex::lock ( )

◆ lock_slow()

void Realm::FIFOMutex::lock_slow ( )
protected

◆ trylock()

bool Realm::FIFOMutex::trylock ( )

◆ unlock()

void Realm::FIFOMutex::unlock ( )

◆ unlock_slow()

void Realm::FIFOMutex::unlock_slow ( )
protected

◆ FIFOCondVar

friend class FIFOCondVar
friend

Member Data Documentation

◆ db_list

DoorbellList Realm::FIFOMutex::db_list
protected

◆ state

atomic<uint32_t> Realm::FIFOMutex::state
protected

The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/mutex.h