Re: Desperately missing a working "pselect()" or similar...

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Oct 05 2001 - 18:13:39 EST


> The select system call doesn't return EINTR when the signal is caught
> prior to entry into select.

Your friend there is siglongjmp/sigsetjmp - the same problem was true
with old versions of alarm that did

        alarm(num)
        pause()

on a heavily loaded box.

Using siglongjmp cures that
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:39 EST