|
|
Subscribe / Log in / New account

epoll

epoll

Posted Feb 13, 2019 19:30 UTC (Wed) by axboe (subscriber, #904)
In reply to: epoll by abatters
Parent article: io_uring, SCM_RIGHTS, and reference-count cycles

Which is a lot less elegant imho, and introduces extra conditionals in the code.


to post comments

epoll

Posted Feb 15, 2019 15:12 UTC (Fri) by dw (subscriber, #12017) [Link]

but epoll's semantics are different, it's basically a "weak reference". Closing the FD causes the poller to unregister it, which makes sense, as the only alternative is epoll_wait() yielding events on a file for which no FD exists


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds