MCPcopy Create free account
hub / github.com/93won/360_visual_inertial_odometry / StartBackendThread

Method StartBackendThread

src/processing/Estimator.cpp:90–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88// ============ Backend Thread Implementation ============
89
90void Estimator::StartBackendThread() {
91 if (m_backend_running.load()) {
92 LOG_WARN("Backend thread is already running");
93 return;
94 }
95
96 m_backend_stop_requested.store(false);
97 m_backend_running.store(true);
98 m_backend_thread = std::thread(&Estimator::BackendLoop, this);
99 LOG_INFO("Backend thread started");
100}
101
102void Estimator::StopBackendThread() {
103 if (!m_backend_running.load()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected