We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e6f2fe commit 48e1437Copy full SHA for 48e1437
1 file changed
ext/io/event/selector/uring.c
@@ -1178,7 +1178,7 @@ unsigned select_process_completions(struct IO_Event_Selector_URing *selector) {
1178
1179
// Interrupt read completion — the read already consumed the counter.
1180
// Clear the flag so the next blocking wait re-submits the read.
1181
- if (cqe->user_data == (uint64_t)(uintptr_t)&selector->interrupt) {
+ if (io_uring_cqe_get_data(cqe) == &selector->interrupt) {
1182
selector->wakeup_registered = 0;
1183
io_uring_cq_advance(ring, 1);
1184
continue;
0 commit comments