Commit 3db30c7
Drop redundant
After "Handle short io_uring submissions" (b57476a) moved the `selector->pending += 1` into `io_get_sqe()`, the manual increment in `select_internal_without_gvl` introduced by #166 became a double-count. The duplicated count left `pending > 0` after `io_uring_wait_cqe_timeout` drained the SQ internally, sending the next `io_uring_submit_flush` into a busy loop (submit returns 0 because the ring is empty, but `pending > 0` keeps the new while-loop spinning).
Co-authored-by: Cursor <cursoragent@cursor.com>pending increment from wakeup-read submission.1 parent 0c5a0bd commit 3db30c7
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
1142 | | - | |
1143 | 1142 | | |
1144 | 1143 | | |
1145 | 1144 | | |
| |||
0 commit comments