:Hi all,
:
:What is the proper way for obtaining the signal mask from
:within the jmp_buf struct on 4.x or -current?  Previously
:with the JDK port for < 3.x we did something like this:
:
:       signalMask = jmpbuf[0]._sjb[6];
:
:This no longer works now that we support >32 signals.  Is
:there a better, more portable way that will work for all
:versions of FreeBSD?
:
:Thanks.
:
:-steve

    The only portable way I can think of is to create
    super-jump-buf structure --- one containing the
    standard jmpbuf plus a signal mask, and then make
    an extra system call to populate the signal mask
    portion of the structure.

                                        -Matt
                                        Matthew Dillon 
                                        <[EMAIL PROTECTED]>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to