|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Await | ( | ) |
Blocks launcher until Ctrl-C is pressed (optional convenience function)
Use this only in launcher applications that need to block the main thread until shutdown is requested.
Gates on SIGINT (Ctrl-C) alone, on every platform. Never reads or consumes stdin, so stdin-driven backends (unix pipe, fileio) remain free to use it while this call blocks.
Usage (optional):
Definition at line 149 of file Core.cpp.
References MayaFlux::Core::Engine::await_shutdown(), get_context(), and MayaFlux::internal::initialized.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: