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

Method beginBatch

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

Source from the content-addressed store, hash-verified

140}
141
142void MainThreadManager::beginBatch() {
143 std::lock_guard<std::mutex> lockGuard(_mutex);
144
145 _batchCount++;
146}
147
148void MainThreadManager::endBatch() {
149 size_t flushId;

Callers 2

TESTMethod · 0.80
callSyncMethod · 0.80

Calls

no outgoing calls

Tested by 1

TESTMethod · 0.64