rustix-uring icon indicating copy to clipboard operation
rustix-uring copied to clipboard

Add Submitter::squeue_wakeup()

Open utkarshgupta137 opened this issue 7 months ago • 0 comments

I'm using io-uring with sqpoll enabled with a very large idle timeout because I want to minimize the latency of processing data. But I still want to check if it has gone idle from time to time. Currently this requires calling io_uring.submission().need_wakeup(), which causes an extra Acquire load on the squeue ring. Add a function that just wakes it up, without trying to return how many events were pending. Alternatively, we could also add need_wakeup to IoUring, similar to issue #18.

utkarshgupta137 avatar May 23 '25 16:05 utkarshgupta137