Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 1997 21:59:40 -0800 (PST)
From:      Jeffrey Hsu <hsu>
To:        freebsd-current@freebsd.org
Subject:   Re: kernel threads api?
Message-ID:  <199712270559.VAA06074@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
  > Not really, plus the 'thread' support in Java isn't as good as the
  > built-in green-thread support.

That will change with the next version of the JDK.  Green threads are
being phased out in favor of native threads.  This is necessary to support
the part of the JNI spec which allows C programs to call Java routines.
C programs linked with the system libc don't mix well with the libc
wrapper routines in Green threads.  Sun is presuming that the standard
libc is re-entrant so it can be used for both C and Java.  This is the
case on Solaris, but not FreeBSD.  Life could be simpler if we just
made libc re-entrant and not distinguish libc from libc_r or libpthread.



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