Date: Thu, 23 Mar 2000 01:08:25 +1030 From: Mark Newton <newton@internode.com.au> To: Arun Sharma <adsharma@sharmas.dhs.org> Cc: Marcel Moolenaar <marcel@scc.nl>, Peter Wemm <peter@netplex.com.au>, current@FreeBSD.ORG Subject: Re: ucontext Message-ID: <20000323010825.A93949@internode.com.au> In-Reply-To: <20000321225432.A4533@sharmas.dhs.org> References: <19990907103348.2801F1CA8@overcee.netplex.com.au> <37D4F557.F4F743E7@scc.nl> <20000321225432.A4533@sharmas.dhs.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 21, 2000 at 10:54:32PM -0800, Arun Sharma wrote: > > > Before getting too far here, can we consider some other > > > standard interfaces? > > > #include <ucontext.h> > > > 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 [ ... ] > Is anyone working on this ? Porting JDKs to FreeBSD would be a lot easier > if these routines are implemented. If it helps at all, these are (approxmiately :-) implemented in the svr4 emulator. I'm not sure that svr4_setcontext() is doing entirely the right thing, and there are some holes related to signal mask handling (which might be related to the "entirely the right thing" bit), but it's a start. - mark -- Mark Newton Email: newton@internode.com.au (W) Network Engineer Email: newton@atdot.dotat.org (H) Internode Systems Pty Ltd Desk: +61-8-82232999 "Network Man" - Anagram of "Mark Newton" Mobile: +61-416-202-223 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?20000323010825.A93949>