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.
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.