[docs] [issue20100] epoll docs are not clear with regards to CLOEXEC.
STINNER Victor
report at bugs.python.org
Tue Sep 27 04:50:12 EDT 2016
STINNER Victor added the comment:
> Old code looked strange after issue18571:
epoll_create() is a deprecated. epoll_create(size): "Since Linux
2.6.8, the size argument is ignored, but must be greater than zero"
according to the man page. So it's fine to always call
epoll_create1(flags).
Example of new potential new flag for epoll_create1(): ten years ago,
EPOLL_NONBLOCK was proposed:
https://lkml.org/lkml/2008/8/24/130
(but it seems like it doesn't make sense, since the syscall cannot block)
Recent epoll evolutions don't seem to be on epoll_create1():
https://lwn.net/Articles/633422/
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20100>
_______________________________________
More information about the docs
mailing list