Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2003 21:24:58 +0600
From:      Max Khon <fjoe@iclub.nsu.ru>
To:        Alexey Zelkin <phantom@FreeBSD.org.ua>
Cc:        Munehiro Matsuda <haro@kgt.co.jp>, c.rued@xsb.com, freebsd-java@freebsd.org
Subject:   Re: jdk13 and WITH_NATIVE_THREADS compile failing
Message-ID:  <20030221212457.B12703@iclub.nsu.ru>
In-Reply-To: <20030221140725.A63003@phantom.cris.net>; from phantom@FreeBSD.org.ua on Fri, Feb 21, 2003 at 02:07:25PM %2B0200
References:  <15956.19601.491644.845972@ool-18bacefa.dyn.optonline.net> <20030220.152353.104026134.haro@kgt.co.jp> <15957.11931.949338.673306@ool-18bacefa.dyn.optonline.net> <20030221.100406.41628347.haro@kgt.co.jp> <20030221140725.A63003@phantom.cris.net>

next in thread | previous in thread | raw e-mail | index | archive | help
hi, there!

On Fri, Feb 21, 2003 at 02:07:25PM +0200, Alexey Zelkin wrote:

> Actctually there's only one correct solution:
> 
>     4) make jdk 1.3.1 sources use phtread_attr_get_np() function and
>        get rid inclusion of phtread_private.h at all.
> 
> It's done in 1.4.1 port and it's not a problem to provide similar
> patch for 1.3.1, but pthread_attr_get_np()'s functionality for making
> jdk truely independent from libc_r API was added to tree around month ago
> and it means that it's possible to do on most recent -STABLE and post-4.8
> systems only.
> 
> If somebody interesting -- I'll make required patches and port will be
> updated depending on FreeBSD_version for 4.8 and later versions.

It is already done for JDK 1.3.1 native threads.
There is one more place where we need pthread_private.h
(see my other post in this thread).

By the way I think it is better to throw away pthread_attr_get_np()
before 4.8 release and use pthread_attr_getstack() for getting thread
stack address and size.

/fjoe


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?20030221212457.B12703>