MCPcopy Create free account
hub / github.com/alibaba/zvec / wake

Method wake

src/include/zvec/ailego/parallel/thread_queue.h:92–95  ·  view source on GitHub ↗

Wake the thread

Source from the content-addressed store, hash-verified

90
91 //! Wake the thread
92 void wake() {
93 std::lock_guard<std::mutex> lock(mutex_);
94 cond_.notify_one();
95 }
96
97 //! Notify thread stopped
98 void stop() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected