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

Method pushToCancellationQueue

Libraries/Async/Async.cpp:1630–1638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1628}
1629
1630void SC::AsyncEventLoop::Internal::pushToCancellationQueue(AsyncRequest& async)
1631{
1632 SC_ASYNC_ASSERT_RELEASE(async.isCancelling());
1633 if (async.sequence and async.sequence->clearSequenceOnCancel)
1634 {
1635 clearSequence(*async.sequence);
1636 }
1637 cancellations.queueBack(async);
1638}
1639
1640SC::Result SC::AsyncEventLoop::Internal::submitRequests(AsyncEventLoop& eventLoop, AsyncKernelEvents& asyncKernelEvents)
1641{

Callers

nothing calls this directly

Calls 2

isCancellingMethod · 0.80
queueBackMethod · 0.45

Tested by

no test coverage detected