This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shaovie
Recipients shaovie
Date 2009-09-09.02:13:09
SpamBayes Score 0.001313139
Marked as misclassified No
Message-id <1252462391.45.0.469283463386.issue6868@psf.upfronthosting.co.za>
In-reply-to
Content
in selectmodule.c, I found the code of epoll module
'        result = epoll_ctl(epfd, op, fd, &ev);
        if (errno == EBADF) {
            /* fd already closed */
            result = 0;
            errno = 0;
        }
'
'man epoll_ctl' show 'EBADF  epfd or fd is not a valid file
descriptor.', assume I register an fd of 'open('xxx', O_RDONLY)', return
value will be -1, errno will be EBADF,  
epoll not support 'file descriptors.' as i know,  or i register an fd
was not be opened.
History
Date User Action Args
2009-09-09 02:13:11shaoviesetrecipients: + shaovie
2009-09-09 02:13:11shaoviesetmessageid: <1252462391.45.0.469283463386.issue6868@psf.upfronthosting.co.za>
2009-09-09 02:13:09shaovielinkissue6868 messages
2009-09-09 02:13:09shaoviecreate