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

◆ stop()

void MayaFlux::Core::UDPBackend::stop ( )
overridevirtual

Stop receive threads without releasing resources.

Endpoints remain valid. Pending sends complete. Receive callbacks cease until start() is called again.

Implements MayaFlux::Core::INetworkBackend.

Definition at line 48 of file UDPBackend.cpp.

49{
50 if (!m_running.load()) {
51 return;
52 }
53
54 m_running.store(false);
55
57 "UDP backend stopped");
58}
#define MF_DEBUG(comp, ctx,...)
std::atomic< bool > m_running
@ Shutdown
Engine/subsystem shutdown and cleanup.
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::Core, m_running, MF_DEBUG, and MayaFlux::Journal::Shutdown.

Referenced by shutdown().

+ Here is the caller graph for this function: