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::disableThreadPool()
132{
133 AsyncTaskSequence* asyncTask = getTask();
134 if (asyncTask)
135 {
136 // Preserve AsyncSequence but disable AsyncTaskSequence
137 asyncTask->threadPool = nullptr;
138 flags &= ~AsyncEventLoop::Internal::Flag_AsyncTaskSequenceInUse;
139 flags &= ~AsyncEventLoop::Internal::Flag_AsyncTaskSequence;
140 flags &= ~AsyncEventLoop::Internal::Flag_ForceThreadPool;
141 }
142}
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