axboe / liburing

Library providing helpers for the Linux kernel io_uring support
MIT License
2.72k stars 393 forks source link

How to automatically register a operation when it complete #1086

Closed 8sileus closed 4 months ago

8sileus commented 4 months ago

I'am writing an asynchronous runtime, and i need a way to wake up a sleeping executor, I used eventfd to do the work,so i need to register a read operation, I need to check that eventfd is completed and to register it again every time,and I want to know how to automatically register the operation when it complete. I don't care the result of operation.