From owner-freebsd-current Wed Mar 22 9:56:37 2000 Delivered-To: freebsd-current@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id 47FB537B5C6 for ; Wed, 22 Mar 2000 09:56:18 -0800 (PST) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id JAA02329; Wed, 22 Mar 2000 09:56:20 -0800 Date: Wed, 22 Mar 2000 09:56:19 -0800 From: Arun Sharma To: Daniel Eischen Cc: current@FreeBSD.ORG Subject: Re: ucontext Message-ID: <20000322095619.A30197@sharmas.dhs.org> References: <20000321225432.A4533@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Daniel Eischen on Wed, Mar 22, 2000 at 08:04:37AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 22, 2000 at 08:04:37AM -0500, Daniel Eischen wrote: > > I had them implemented and working for i386, and even had a hacked up > libc_r that used them instead of setjmp/longjmp. This was a few months > ago under 4.0-current. At the time, I thought they'd be better off > implemented as syscalls, but now I'm leaning towards library routines > similar to setjmp/longjmp (which make a syscall to change the signal > mask). > UNIX 98 specifies that setcontext should be callable from signal handlers. http://www.opengroup.org/onlinepubs/007908799/xsh/getcontext.html That pretty much means system calls. Doesn't it ? I was wrong about this being necessary for the JDK. Linux doesn't implement it either (it does have man pages and header files though!) and the JDK runs fine on Linux. I was mislead by the some of these calls, which will always fail on Linux. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message