MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ has_active_snapshot()

bool MayaFlux::Nodes::Node::has_active_snapshot ( ) const

Check if node is currently being snapshotted by any context.

Returns
true if a snapshot is in progress

Definition at line 133 of file Node.cpp.

134{
135 return m_snapshot_context_id.load(std::memory_order_acquire) != 0;
136}
std::atomic< uint64_t > m_snapshot_context_id
Unique identifier for the current snapshot context.
Definition Node.hpp:752

References m_snapshot_context_id.