Author vstinner
Recipients berker.peksag, docs@python, python-dev, r.david.murray, serhiy.storchaka, vstinner
Date 2016-09-27.08:50:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwZCS=fufApAqZuMHOyksyNV4Hb_fgE_Aw1zOe2B+U=iyg@mail.gmail.com>
In-reply-to <1474964727.04.0.873960760453.issue20100@psf.upfronthosting.co.za>
Content
> 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/
History
Date User Action Args
2016-09-27 08:50:12vstinnersetrecipients: + vstinner, r.david.murray, docs@python, python-dev, berker.peksag, serhiy.storchaka
2016-09-27 08:50:12vstinnerlinkissue20100 messages
2016-09-27 08:50:11vstinnercreate