MayaFlux 0.2.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 119 of file Node.cpp.

120{
121 return m_snapshot_context_id.load(std::memory_order_acquire) != 0;
122}
std::atomic< uint64_t > m_snapshot_context_id
Unique identifier for the current snapshot context.
Definition Node.hpp:610

References m_snapshot_context_id.