From owner-freebsd-current Tue Mar 21 22:56: 0 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 F1F5837BCC9 for ; Tue, 21 Mar 2000 22:55:57 -0800 (PST) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id WAA04550; Tue, 21 Mar 2000 22:54:32 -0800 (PST) (envelope-from adsharma) Date: Tue, 21 Mar 2000 22:54:32 -0800 From: Arun Sharma To: Marcel Moolenaar Cc: Peter Wemm , current@FreeBSD.ORG Subject: ucontext Message-ID: <20000321225432.A4533@sharmas.dhs.org> References: <19990907103348.2801F1CA8@overcee.netplex.com.au> <37D4F557.F4F743E7@scc.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <37D4F557.F4F743E7@scc.nl>; from marcel@scc.nl on Tue, Sep 07, 1999 at 01:21:59PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Sep 07, 1999 at 01:21:59PM +0200, Marcel Moolenaar wrote: > Peter Wemm wrote: > > > > Before getting too far here, can we consider some other standard interfaces? > > > > #include > > > > int getcontext(ucontext_t *ucp); > > int setcontext(const ucontext_t *ucp); > > void makecontext(ucontext_t *ucp, (void *func)(), int argc, ...); > > int swapcontext(ucontext_t *oucp, const ucontext_t *ucp); > > > > http://www.opengroup.org/onlinepubs/007908799/xsh/ucontext.h.html > > > > setjmp,longjmp,sigreturn,etc can all be done with this interface and it can > > be used for libc_r and future kernel-assisted threading. > > We're at a point where the discussion, altough meaningful and important, > has no direct impact on the sigset_t change. I agree with Peter that we > should as well consider the ucontext interface, but prefer to stay focussed > on changing sigset_t. So, here's where I shut up and let you discuss the > matter further :-) Is anyone working on this ? Porting JDKs to FreeBSD would be a lot easier if these routines are implemented. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message