diff --git a/compile_commands.json b/compile_commands.json new file mode 120000 index 0000000000000000000000000000000000000000..25eb4b2b4b7b60c288d5b13540a6288f0ed0b1d3 --- /dev/null +++ b/compile_commands.json @@ -0,0 +1 @@ +build/compile_commands.json \ No newline at end of file diff --git a/emper/io/IoContext.cpp b/emper/io/IoContext.cpp index bd9aebaf39e8a16abc797c79708941d4fbd86705..203051fd5836fa1fa39cde2bbd7ad93625117c02 100644 --- a/emper/io/IoContext.cpp +++ b/emper/io/IoContext.cpp @@ -290,7 +290,9 @@ auto IoContext::globalCompleterFunc(void *arg) -> void * { TaggedPtr tptr(io_uring_cqe_get_data(cqe)); auto *future = castIfFuture(tptr); - // The cqe is for a completed Future + // The cqe is for a completed Future. + // This happens in case the global completer is dealing with a + // partial completion. if (unlikely(future)) { uint32_t res = cqe->res; io_uring_cqe_seen(&io.ring, cqe);