Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 10:43:44 -0700
From:      Arun Sharma <arun@sharmas.dhs.org>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        java@FreeBSD.ORG
Subject:   Re: POSIX port of Intel ORP
Message-ID:  <20010720104344.A22485@sharmas.dhs.org>
In-Reply-To: <20010721025208.A65928@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Sat, Jul 21, 2001 at 02:52:08AM %2B0930
References:  <20010720100944.A13540@sharmas.dhs.org> <20010721025208.A65928@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 21, 2001 at 02:52:08AM +0930, Greg Lewis wrote:
> > The port involved:
> > 
> > 1. Replacing ORP_LINUX with ORP_POSIX
> > 2. Covering Linux specific bits in #ifdef __linux__
> 
> Did you need to introduce any FreeBSD specific code?
> 

Loosely speaking - no. But I suspect I might have to, to deal
with the differences in pthread implementations. I also plan to
try with IBM's MxN pthread implementation, which I have ported
to FreeBSD.

Strictly speaking - yes.  I copied orp/os/linux -> orp/os/freebsd
and removed code which was trying to deal with various versions of
Linux (which differ w.r.t. signal handling).

> > 3. Tweaking the linker flags in the main Makefile
> > 
> > Current port status:
> > 
> > 1. Compiles on FreeBSD (and Linux of course)
> 
> Be interesting to test on NetBSD and OpenBSD too :).

I'll have it up on the net tonight - don't have access to NetBSD
and OpenBSD boxes.

> 
> > 2. signal handling issues ironed out.
> > 3. Can't run HelloWorld yet, due to what I believe are 
> >    scheduling issues with pthreads. I think this is due to
> >    the use of non-portable recursive pthread_mutexes used in 
> >    the code.
> > 
> > The effort is based on the most recent release. Producing a diff is
> > possible, but clumsy. ORP folks, please let me know if you're interested
> > in folding this in.
> 
> Why is producing a diff clumsy?  I'd like to see one :).

I meant, it will be large and repetitive. I'll have both the diff and
full sources on the net later today.

	-Arun

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010720104344.A22485>