MCPcopy Create free account
hub / github.com/bcndev/bytecoin / start_batch

Method start_batch

src/Core/Multicore.cpp:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 }
159}
160void RingCheckerMulticore::start_batch() {
161 total_counter = 0;
162 std::unique_lock<std::mutex> lock(mu);
163 work.clear();
164 batch_counter += 1;
165 ready_counter = 0;
166}
167
168void RingCheckerMulticore::add_work(RingSignatureCheckArgs &&args) {
169 total_counter += 1;

Callers 1

redo_blockMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected