Hermes  0.9.5-beta
Hierarchical Distributed I/O Buffering System
hermes::TicketMutex Struct Reference

#include <memory_management.h>

Public Attributes

std::atomic< u32ticket
 
std::atomic< u32serving
 

Detailed Description

Implements a ticket lock as described at https://en.wikipedia.org/wiki/Ticket_lock.

Member Data Documentation

◆ ticket

std::atomic<u32> hermes::TicketMutex::ticket

ticket number

◆ serving

std::atomic<u32> hermes::TicketMutex::serving

ticket number being served


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