On Thu, 13 May 1999 10:42:54 +0200, Gerald de Jong wrote:

>
>i downloaded the v3 JDK, and also the native threads stuff.
>
>i would like to RTFM about how to make use of the native threads stuff, but i
>don't know where the M is.  can somebody point a finger?

The M should be in the README.linux but it seems we have lost it (as in,
the latest release does not have that section in it.)

Here is the section from the previous release:  (note that it needs some
updating but is generally correct.)

Native Threads support
----------------------

Starting with the 1.1.7 v1a port of the Java Virtual Machine, we have
added native thread support.  Traditionally, the JVM used user based
threads, also known as "green" threads.  Native threads, on the other
hand, use the operating system to do the task switching.

Native threads are thus a benefit in multi-processor (SMP) systems
and they tend to make native method invocation support easier to
deal with.

Native threads do have some limitations relative to green threads.
They require more overhead and are limited to the number of processes
your Linux kernel supports.

Native thread support is new as of 1.1.7 v1a due to the wonderful
effort of Phill Edwards.

To install the native threads package, you need to first download
the JDK, JRE, RT and install that.  Next, you need to get the matching
native threads package and install that into the same location.
Finally, to use the native threads version of the JVM, you need
to set the THREADS_FLAG environment variable to "native"

Note, that while the native threads support works very well and has
been tested by the Java-Linux porting team, it should still be viewed
as "beta" code as it has not had the extended testing that the
green threads code has.

Also, at this time there is no native threads support for libc5 systems.
Only glibc based Linux systems.


Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to