MCPcopy Create free account
hub / github.com/Snapchat/Valdi / runNextTask

Method runNextTask

valdi_core/src/valdi_core/cpp/Threading/TaskQueue.cpp:246–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246size_t TaskQueue::flush() {
247 size_t ranTasks = 0;
248 while (runNextTask()) {
249 ranTasks++;
250 }
251 return ranTasks;

Callers 1

handlerMethod · 0.45

Calls 3

DispatchFunctionClass · 0.85
notifyAllMethod · 0.80
nowFunction · 0.50

Tested by

no test coverage detected