|
|
Subscribe / Log in / New account

EPOLL_CTL_DISABLE, epoll, and API design

EPOLL_CTL_DISABLE, epoll, and API design

[Kernel] Posted Oct 23, 2012 15:00 UTC (Tue) by mkerrisk

In an article last week, we saw that the EPOLL_CTL_DISABLE operation provides a way for multithreaded applications that cache information about file descriptors to safely delete those file descriptors from an epoll interest list. This week, we revisit the EPOLL_CTL_DISABLE story from a different angle, with the aim of drawing some lessons about the design of the APIs that the kernel presents to user space.

Full Story (comments: 29)


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