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

Method start_loading_thread

OpenHD/ohd_common/src/openhd_led.cpp:171–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169openhd::LEDManager::~LEDManager() { stop_loading_thread(); }
170
171void openhd::LEDManager::start_loading_thread() {
172 if (m_running) return; // already running
173
174 m_running = true;
175 m_loading_thread =
176 std::make_unique<std::thread>(&LEDManager::loading_loop, this);
177}
178
179void openhd::LEDManager::stop_loading_thread() {
180 if (m_running) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected