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

Add register_napi

Open utkarshgupta137 opened this issue 7 months ago • 0 comments

Currently, registering napi (setting busy poll parameters) requires using the rustix API directly. It would be useful to expose nice wrappers around this API in the Submitter. I'm willing to submit a PR for this, but I'm not sure what kind of API we want. With the latest kernel, there are 2 different modes "dynamic" & "static". It would be nicer to have 2 different versions of register_napi with easy parameters. Or we could have one function that accepts an enum (similar to CancelBuilder).

utkarshgupta137 avatar May 21 '25 12:05 utkarshgupta137