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

#include <mutex.h>

Collaboration diagram for Realm::DoorbellList:

Public Member Functions

 DoorbellList ()
 
 ~DoorbellList ()
 
bool add_doorbell (Doorbell *db)
 
Doorbellextract_oldest (bool prefer_spinning, bool allow_extra)
 
Doorbellextract_newest (bool prefer_spinning, bool allow_extra)
 
void notify_oldest (unsigned count, bool prefer_spinning)
 
void notify_newest (unsigned count, bool prefer_spinning)
 

Protected Attributes

atomic< uintptr_t > head_or_count
 

Constructor & Destructor Documentation

◆ DoorbellList()

Realm::DoorbellList::DoorbellList ( )

◆ ~DoorbellList()

Realm::DoorbellList::~DoorbellList ( )

Member Function Documentation

◆ add_doorbell()

bool Realm::DoorbellList::add_doorbell ( Doorbell db)

◆ extract_newest()

Doorbell * Realm::DoorbellList::extract_newest ( bool  prefer_spinning,
bool  allow_extra 
)

◆ extract_oldest()

Doorbell * Realm::DoorbellList::extract_oldest ( bool  prefer_spinning,
bool  allow_extra 
)

◆ notify_newest()

void Realm::DoorbellList::notify_newest ( unsigned  count,
bool  prefer_spinning 
)

◆ notify_oldest()

void Realm::DoorbellList::notify_oldest ( unsigned  count,
bool  prefer_spinning 
)

Member Data Documentation

◆ head_or_count

atomic<uintptr_t> Realm::DoorbellList::head_or_count
protected

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