Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brainboxdotcc/DPP
/ enqueue
Method
enqueue
src/dpp/thread_pool.cpp:77–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
}
76
77
void thread_pool::enqueue(thread_pool_task task) {
78
{
79
std::unique_lock<std::mutex> lock(queue_mutex);
80
tasks.emplace(std::move(task));
81
}
82
cv.notify_one();
83
}
84
85
}
Callers
1
queue_work
Method · 0.80
Calls
1
emplace
Method · 0.80
Tested by
no test coverage detected