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

Method idle

mllm/engine/HpcThreadPool.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void HpcThreadPool::idle() {
38 std::lock_guard<std::mutex> _l(queue_mutex_);
39 available_task_slots_old_ = available_task_slots_.load();
40 available_task_slots_.store(0);
41}
42
43void HpcThreadPool::wakeup() {
44 {

Callers 1

idleHpcThreadPoolFunction · 0.80

Calls 2

loadMethod · 0.45
storeMethod · 0.45

Tested by

no test coverage detected