Skip to content

Add Submitter::squeue_wakeup()#20

Open
utkarshgupta137 wants to merge 1 commit into
jordanisaacs:mainfrom
utkarshgupta137:feat/squeue_wakeup
Open

Add Submitter::squeue_wakeup()#20
utkarshgupta137 wants to merge 1 commit into
jordanisaacs:mainfrom
utkarshgupta137:feat/squeue_wakeup

Conversation

@utkarshgupta137

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant