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

Method activateAsync

Libraries/Async/Async.cpp:2087–2095  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2085}
2086
2087SC::Result SC::AsyncEventLoop::Internal::activateAsync(AsyncEventLoop& eventLoop, KernelEvents& kernelEvents,
2088 AsyncRequest& async)
2089{
2090 SC_LOG_MESSAGE("{} {} ACTIVATE\n", async.debugName, AsyncRequest::TypeToString(async.type));
2091 SC_ASYNC_ASSERT_RELEASE(async.state == AsyncRequest::State::Submitting);
2092 SC_TRY(Internal::applyOnAsync(async, ActivateAsyncPhase{eventLoop, kernelEvents}));
2093 addActiveHandle(async);
2094 return Result(true);
2095}
2096
2097SC::Result SC::AsyncEventLoop::Internal::teardownAsync(AsyncTeardown& teardown)
2098{

Callers 1

operator()Method · 0.80

Calls 2

TypeToStringClass · 0.85
ResultClass · 0.70

Tested by

no test coverage detected