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

◆ engine_ptr

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.

20{ nullptr };

Referenced by cleanup_engine(), and get_or_create_engine().