Select() failing with EAGAIN?
Fernando Carrijo
fcarrijo at yahoo.com.br
Wed Aug 4 11:14:13 PDT 2010
Adam Jackson <ajax at nwnk.net> 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.
Oh, how embarrassing when I forget to use git-blame before asking questions.
> 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
Yep, you're right.
Thanks.
More information about the xorg-devel
mailing list