Coda File System

Re: cpp sanity check fails on parisc linux

From: Brett Lymn <blymn_at_baesystems.com.au>
Date: Fri, 20 Feb 2004 10:01:34 +1030
On Thu, Feb 19, 2004 at 02:55:01PM -0500, Jan Harkes wrote:
> 
> In any case, this is the non-trivial part of LWP. There are several
> 'recently introduced' portable C functions such as setjmp/longjmp and
> even better setcontext/getcontext. Ideally LWP would use those in
> preference to the assembly routines, except that getcontext and longjmp
> really don't match the semantics of returnto. At a first try, I
> couldn't (easily) implement either one given the other.
> 

Would it not be better to use another recently introduced library
called pthreads? ;)  The arla people have a pthread'ified version of
lwp which would mean that lwp would be immediately portable to all
platforms that support libpthread without having to hack assembly
language.... having done that for NetBSD/amd64 I can tell you that
would be a real bonus.

-- 
Brett Lymn
Received on 2004-02-19 18:33:54