|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::atomic<Core::Engine*> MayaFlux::internal::engine_ptr { nullptr } |
The engine is published through a raw atomic pointer and is freed only after End() has joined every thread that can call a global getter, so a getter is a single acquire load and never waits on a lifecycle change.
Definition at line 20 of file Core.cpp.
Referenced by cleanup_engine(), and get_or_create_engine().