MCPcopy Create free account
hub / github.com/IronsDu/brynet / processAsyncFunctors

Method processAsyncFunctors

include/brynet/net/EventLoop.hpp:359–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357 mCopyAfterLoopFunctors.clear();
358 }
359 void processAsyncFunctors()
360 {
361 swapAsyncFunctors();
362
363 for (const auto& x : mCopyAsyncFunctors)
364 {
365 x();
366 }
367 mCopyAsyncFunctors.clear();
368 }
369 void swapAsyncFunctors()
370 {
371 std::lock_guard<std::mutex> lck(mAsyncFunctorsMutex);

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected