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

Method getTask

Libraries/Async/Async.cpp:133–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131void SC::AsyncRequest::queueSubmission(AsyncEventLoop& eventLoop) { eventLoop.internal.queueSubmission(*this); }
132
133SC::AsyncTaskSequence* SC::AsyncRequest::getTask()
134{
135 if (flags & AsyncEventLoop::Internal::Flag_AsyncTaskSequence)
136 {
137 return static_cast<AsyncTaskSequence*>(sequence);
138 }
139 return nullptr;
140}
141
142bool SC::AsyncRequest::isThreadPoolForced() const
143{

Callers 6

operator()Method · 0.80
operator()Method · 0.80
operator()Method · 0.80
operator()Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected