lkml.org 
[lkml]   [2001]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Desperately missing a working "pselect()" or similar...
    On Sat, Oct 06, 2001 at 12:13:17AM +0100, Alan Cox wrote:
    > > 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

    I was naive about siglongjump bouncing through the stack over a system
    call, but it appears to be safe. Excellent.
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:04    [W:0.021 / U:2.176 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site