Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChunelFeng/CThreadPool
/ runTask
Function
runTask
src/UtilsCtrl/ThreadPool/Thread/UThreadBase.h:87–92 ·
view source on GitHub ↗
* 执行单个任务 * @param task */
Source
from the content-addressed store, hash-verified
85
* @param task
86
*/
87
CVoid runTask(UTask& task) {
88
is_running_ = true;
89
task();
90
total_task_num_++;
91
is_running_ = false;
92
}
93
94
95
/**
Callers
2
processTask
Function · 0.85
processTask
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected