[Xcb] [PATCH] Handle EAGAIN errno from poll(2) or select(2)

Josh Triplett josh at joshtriplett.org
Sun Aug 23 16:02:19 PDT 2015


On Sun, Aug 23, 2015 at 01:51:45AM -0700, Jeremy Huddleston Sequoia wrote:
> And actually, digging deeper into it, it looks like the implementation
> in xnu should guarantee that the MALLOC in question never fails (it
> will block until memory is available), so we should actually never
> even see the EAGAIN returned for select() case even though it's
> documented to be a possibility.

Given that, is it still a good idea to make this change, or should we
wait until some real system exists where this is a problem?

- Josh Triplett


More information about the Xcb mailing list