MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / setupAsync

Method setupAsync

Libraries/Async/Async.cpp:2077–2085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2075 // clang-format on
2076}
2077SC::Result SC::AsyncEventLoop::Internal::setupAsync(AsyncEventLoop& eventLoop, KernelEvents& kernelEvents,
2078 AsyncRequest& async)
2079{
2080 SC_LOG_MESSAGE("{} {} SETUP\n", async.debugName, AsyncRequest::TypeToString(async.type));
2081 // Reset flags that may have been left by previous activations
2082 async.flags &= ~(Flag_ManualCompletion | Flag_NeedsTeardown);
2083 // Note that we're preserving the Flag_ExcludeFromActiveCount
2084 return Internal::applyOnAsync(async, SetupAsyncPhase{eventLoop, kernelEvents});
2085}
2086
2087SC::Result SC::AsyncEventLoop::Internal::activateAsync(AsyncEventLoop& eventLoop, KernelEvents& kernelEvents,
2088 AsyncRequest& async)

Callers 1

operator()Method · 0.80

Calls 1

TypeToStringClass · 0.85

Tested by

no test coverage detected