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

Method pushAsyncFunctor

include/brynet/net/EventLoop.hpp:375–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373 mCopyAsyncFunctors.swap(mAsyncFunctors);
374 }
375 void pushAsyncFunctor(UserFunctor&& f)
376 {
377 std::lock_guard<std::mutex> lck(mAsyncFunctorsMutex);
378 mAsyncFunctors.emplace_back(std::move(f));
379 }
380
381#ifdef BRYNET_PLATFORM_LINUX
382 int getEpollHandle() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected