Bitcoin ABC 0.30.5
P2P Digital Currency
Classes | Macros
epochguard.h File Reference
#include <threadsafety.h>
#include <util/macros.h>
#include <cassert>
Include dependency graph for epochguard.h:

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 97 of file epochguard.h.