lkml.org 
[lkml]   [2008]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: unexpected extra pollout events from epoll
On Sun, 26 Oct 2008, Davide Libenzi wrote:

> On Sun, 26 Oct 2008, Paul P wrote:
>
> > However, I get strange behavior when I tried adding fd's with only the
> > EPOLLIN interest mask. If I use epoll_wait with both the EPOLLIN and
> > EPOLLOUT interest mask, but add fd's with only the EPOLLIN interest mask,
> > I still seem to get EPOLLOUT events on the fd.
>
> Again, how the heck do you "use epoll_wait with both the EPOLLIN and
> EPOLLOUT"?!? There is not such a thing.

Wait? It's not that you pass EPOLLIN or EPOLLOUT to the "maxevents"
parameter of epoll_wait()?
That's the maximum event count you want to fetch, not an event mask.



- Davide




\
 
 \ /
  Last update: 2008-10-27 02:25    [W:0.061 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site