MCPcopy Create free account
hub / github.com/UbiquitousLearning/mllm / wakeup

Method wakeup

mllm/engine/HpcThreadPool.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void HpcThreadPool::wakeup() {
44 {
45 std::lock_guard<std::mutex> _l(queue_mutex_);
46 available_task_slots_.store(available_task_slots_old_);
47 }
48 condition_.notify_all();
49}
50
51int HpcThreadPool::acquireTaskSlot() {
52 std::lock_guard<std::mutex> _l(queue_mutex_);

Callers 1

wakeupHpcThreadPoolFunction · 0.80

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected