Select() failing with EAGAIN?

Tiago Vignatti tiago.vignatti at nokia.com
Thu Aug 5 07:18:59 PDT 2010


On Wed, Aug 04, 2010 at 04:38:30PM +0200, ext Adam Jackson wrote:
> On Tue, 2010-08-03 at 17:28 -0300, Fernando Carrijo wrote:
> > The Open Group documentation for Select does not mention it failing with EAGAIN.
> > 
> >   http://opengroup.org/onlinepubs/007908775/xsh/select.html
> > 
> > Even so, we check for this error after Select is called in WaitForSomething.
> > 
> > Anybody knows why?
> 
> commit 85dd8efac1bc0715f03c99d261b1c5d0980623e1
> Author: Daniel Stone <daniel at fooishbar.org>
> Date:   Wed Dec 5 19:36:59 2007 +0000
> 
>     WaitForSomething: Ignore EAGAIN
>     
>     If select ever returns EAGAIN, don't bother complaining.
> 
> It does look like this has been seen in the wild for Linux systems at
> least, where EAGAIN is 11:
> 
> http://www.google.com/search?q=%22WaitForSomething():+select:+errno%3D11%22

!

             Tiago, shocked


More information about the xorg-devel mailing list