| 2182 | } |
| 2183 | |
| 2184 | SC::Result SC::AsyncEventLoop::Internal::completeAsync(AsyncEventLoop& eventLoop, KernelEvents& kernelEvents, |
| 2185 | AsyncRequest& async, int32_t eventIndex, Result& returnCode, |
| 2186 | bool* hasBeenReactivated) |
| 2187 | { |
| 2188 | if (returnCode) |
| 2189 | { |
| 2190 | SC_LOG_MESSAGE("{} {} COMPLETE\n", async.debugName, AsyncRequest::TypeToString(async.type)); |
| 2191 | } |
| 2192 | else |
| 2193 | { |
| 2194 | SC_LOG_MESSAGE("{} {} COMPLETE (Error = \"{}\")\n", async.debugName, AsyncRequest::TypeToString(async.type), |
| 2195 | returnCode.message); |
| 2196 | } |
| 2197 | return Internal::applyOnAsync( |
| 2198 | async, CompleteAsyncPhase(eventIndex, eventLoop, kernelEvents, returnCode, hasBeenReactivated)); |
| 2199 | } |
| 2200 | |
| 2201 | SC::Result SC::AsyncEventLoop::Internal::cancelAsync(AsyncEventLoop& eventLoop, KernelEvents& kernelEvents, |
| 2202 | AsyncRequest& async) |
no test coverage detected