MCPcopy Create free account
hub / github.com/VitalAudio/visage / start

Method start

visage_utils/thread_utils.h:61–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 void start() {
62 VISAGE_ASSERT(!running());
63#if VISAGE_EMSCRIPTEN
64 VISAGE_ASSERT(false);
65#endif
66
67 if (running())
68 return;
69
70 should_run_ = true;
71 completed_ = false;
72 thread_ = std::make_unique<std::thread>(&Thread::startRun, this);
73 }
74
75 void stop() {
76 should_run_ = false;

Callers 2

showMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected