rlib
Convenience library for useful things
Loading...
Searching...
No Matches
rhzrptr Struct Reference

Pointer slot that participates in hazard-pointer reclamation. More...

#include <rlib/data/rhzrptr.h>

Data Fields

raptr ptr
 
RDestroyNotify notify
 

Detailed Description

Pointer slot that participates in hazard-pointer reclamation.

ptr is the atomically-published value; notify is the destructor called on the displaced value once every reader has dropped their record.

Field Documentation

◆ notify

RDestroyNotify rhzrptr::notify

Destructor for displaced values.

◆ ptr

raptr rhzrptr::ptr

Published value (read/written atomically).


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