From owner-freebsd-current Tue Apr 4 19:20:45 2000 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 190E637BD9B for ; Tue, 4 Apr 2000 19:20:43 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id TAA72492; Tue, 4 Apr 2000 19:20:40 -0700 (PDT) (envelope-from dillon) Date: Tue, 4 Apr 2000 19:20:40 -0700 (PDT) From: Matthew Dillon Message-Id: <200004050220.TAA72492@apollo.backplane.com> To: Steve Price Cc: current@FreeBSD.ORG Subject: Re: signal mask from jmp_buf References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message