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

Method runStep

Libraries/Async/Async.cpp:1620–1628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1618}
1619
1620SC::Result SC::AsyncEventLoop::Internal::runStep(AsyncEventLoop& eventLoop, SyncMode syncMode)
1621{
1622 alignas(uint64_t) uint8_t buffer[8 * 1024]; // 8 Kb of kernel events
1623 AsyncKernelEvents kernelEvents;
1624 kernelEvents.eventsMemory = buffer;
1625 SC_TRY(submitRequests(eventLoop, kernelEvents));
1626 SC_TRY(blockingPoll(eventLoop, syncMode, kernelEvents));
1627 return dispatchCompletions(eventLoop, syncMode, kernelEvents);
1628}
1629
1630void SC::AsyncEventLoop::Internal::pushToCancellationQueue(AsyncRequest& async)
1631{

Callers 2

runOnceMethod · 0.80
runNoWaitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected