Adam Jackson <[email protected]> writes:

> In principle SA_RESTART is so poorly specified that this might be
> sketchy; in practice, near as I can tell, nobody is insane enough to
> do restarts on select() and friends, so I think we'll be fine.

In my experience select(2) has always returned EINTR for signals with
SA_RESTART set, ever since it was added in BSD Unix. That (conveniently)
matches the current signal(7) man page, which documents which syscalls
restart and which do not.

> Reviewed-by: Adam Jackson <[email protected]>

Yeah, it's probably an entirely reasonable plan to reduce the amount of
EINTR processing.

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
[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