Date: Tue, 4 Apr 2000 19:20:40 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: Steve Price <sprice@hiwaay.net> Cc: current@FreeBSD.ORG Subject: Re: signal mask from jmp_buf Message-ID: <200004050220.TAA72492@apollo.backplane.com> References: <Pine.OSF.4.21.0004041805120.18864-100000@fly.HiWAAY.net>
next in thread | previous in thread | raw e-mail | index | archive | help
: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 <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004050220.TAA72492>