Re: accept()ing socket connections with level triggered epoll

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 26, 2006 at 03:14:16PM -0700, Davide Libenzi wrote:
> 
> Correct, if it's LT you have to get the event because before returning from 
> epoll_wait(), the event is automatically re-armed if f_op->poll() returns it. 
> Can you post the *minimal* test code for this case?
> 
> - Davide
> 

I tried reducing the code I have to the minimum necessary to demonstrate the
problem.  It went away, I'm afraid.  Since I'm already aware of a workaround
(call accept in a loop until you get EAGAIN), I guess I'll just forget about
it.  Unfortunately I can't post the full code, not that you'd want to dig
through all of it anyway.

Thanks to everyone that responded.

Kyle
<[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux