MCPcopy Create free account
hub / github.com/ChunelFeng/CGraph / processTasks

Function processTasks

src/UtilsCtrl/ThreadPool/Thread/UThreadSecondary.h:79–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78
79 CVoid processTasks() override {
80 UTaskArr tasks;
81 if (popPoolTask(tasks)) {
82 runTasks(tasks);
83 } else {
84 waitRunTask(config_->queue_emtpy_interval_);
85 }
86 }
87
88
89 /**

Callers

nothing calls this directly

Calls 3

popPoolTaskFunction · 0.85
runTasksFunction · 0.85
waitRunTaskFunction · 0.85

Tested by

no test coverage detected