MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / stop_loading_thread

Method stop_loading_thread

OpenHD/ohd_common/src/openhd_led.cpp:179–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void openhd::LEDManager::stop_loading_thread() {
180 if (m_running) {
181 m_running = false;
182 if (m_loading_thread && m_loading_thread->joinable()) {
183 m_loading_thread->join();
184 }
185 m_loading_thread = nullptr;
186 }
187}
188
189void openhd::LEDManager::loading_loop() {
190 while (m_running) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected