Bitcoin Core  22.99.0
P2P Digital Currency
Classes | Macros
epochguard.h File Reference
#include <threadsafety.h>
#include <cassert>
Include dependency graph for epochguard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Epoch
 Epoch: RAII-style guard for using epoch-based graph traversal algorithms. More...
 
class  Epoch::Marker
 
class  Epoch::Guard
 

Macros

#define WITH_FRESH_EPOCH(epoch)   const Epoch::Guard PASTE2(epoch_guard_, __COUNTER__)(epoch)
 

Macro Definition Documentation

◆ WITH_FRESH_EPOCH

#define WITH_FRESH_EPOCH (   epoch)    const Epoch::Guard PASTE2(epoch_guard_, __COUNTER__)(epoch)

Definition at line 99 of file epochguard.h.