Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Macros
epochguard.h File Reference
#include <threadsafety.h>
#include <util/macros.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 UNIQUE_NAME(epoch_guard_)(epoch)
 

Macro Definition Documentation

◆ WITH_FRESH_EPOCH

#define WITH_FRESH_EPOCH (   epoch)    const Epoch::Guard UNIQUE_NAME(epoch_guard_)(epoch)

Definition at line 100 of file epochguard.h.