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

◆ request_shutdown()

void Lila::Lila::request_shutdown ( )

Request shutdown from any thread.

Signals await_shutdown() to return. Thread-safe.

Definition at line 254 of file Lila.cpp.

255{
256 m_shutdown_requested.store(true, std::memory_order_release);
257
258#ifdef MAYAFLUX_PLATFORM_MACOS
259 CFRunLoopStop(CFRunLoopGetMain());
260#endif
261}
std::atomic< bool > m_shutdown_requested
Definition Lila.hpp:224