|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::atomic_set_strong | ( | std::atomic< Utils::NodeState > & | flag, |
| Utils::NodeState & | expected, | ||
| const Utils::NodeState & | desired | ||
| ) |
Atomically sets a node state flag with strong memory ordering.
| flag | The atomic node state to modify |
| expected | The expected current state value |
| desired | The desired new state value |
This function safely updates a node's state, ensuring that state transitions are consistent across the audio processing graph. Node states track important conditions like whether a node is active, processed, or pending removal, which are critical for coordinating audio signal flow.
Definition at line 85 of file NodeUtils.cpp.