MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / shutdown

Method shutdown

dependencies/httplib/httplib.h:552–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550 }
551
552 void shutdown() override {
553 // Stop all worker threads...
554 {
555 std::unique_lock<std::mutex> lock(mutex_);
556 shutdown_ = true;
557 }
558
559 cond_.notify_all();
560
561 // Join...
562 for (auto &t : threads_) {
563 t.join();
564 }
565 }
566
567private:
568 struct worker {

Callers 1

httplib.hFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected