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 <[email protected]>
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

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to