Message92441
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. |
|
Date |
User |
Action |
Args |
2009-09-09 02:13:11 | shaovie | set | recipients:
+ shaovie |
2009-09-09 02:13:11 | shaovie | set | messageid: <1252462391.45.0.469283463386.issue6868@psf.upfronthosting.co.za> |
2009-09-09 02:13:09 | shaovie | link | issue6868 messages |
2009-09-09 02:13:09 | shaovie | create | |
|