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

Method runNextTask

valdi/src/valdi/runtime/Utils/MainThreadManager.cpp:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96bool MainThreadManager::runNextTask() {
97 std::unique_lock<std::mutex> lock(_mutex);
98 size_t flushIdSequence = _flushIdSequence;
99 return runNextTaskWithId(flushIdSequence, lock);
100}
101
102bool MainThreadManager::runNextTaskWithId(size_t flushId) {
103 std::unique_lock<std::mutex> lock(_mutex);

Callers 11

TEST_PFunction · 0.45
TESTMethod · 0.45
TEST_PMethod · 0.45
waitForValueMethod · 0.45
dequeueNextEventMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
flushMethod · 0.45

Calls

no outgoing calls

Tested by 9

TEST_PFunction · 0.36
TESTMethod · 0.36
TEST_PMethod · 0.36
waitForValueMethod · 0.36
dequeueNextEventMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36