The Pedigree Project 0.1
Private Member Functions | Private Attributes | List of all members
RcuReadGuard Class Reference

#include <Rcu.h>

+ Collaboration diagram for RcuReadGuard:

Private Member Functions

 NOT_COPYABLE_OR_ASSIGNABLE (RcuReadGuard)
 

Private Attributes

RcuReadState * m_State
 
bool m_Interrupts
 

Detailed Description

Protects resident, nonblocking lookups after processor discovery.

Readers may nest, including in IRQ/NMI context. The guard disables maskable interrupts, preventing preemption and migration. Do not enable interrupts, block, fault on pageable storage, or let a borrowed pointer escape: retain a durable owner before leaving. Context switches with a live guard are fatal.

Definition at line 17 of file Rcu.h.

Constructor & Destructor Documentation

◆ RcuReadGuard()

RcuReadGuard::RcuReadGuard ( )

Definition at line 8 of file Rcu.cc.

◆ ~RcuReadGuard()

RcuReadGuard::~RcuReadGuard ( )

Definition at line 22 of file Rcu.cc.

Member Data Documentation

◆ m_Interrupts

bool RcuReadGuard::m_Interrupts
private

Definition at line 25 of file Rcu.h.

◆ m_State

RcuReadState* RcuReadGuard::m_State
private

Definition at line 24 of file Rcu.h.


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