[219] in java-interest

home help back first fref pref prev next nref lref last post

Threads vs New White Paper

daemon@ATHENA.MIT.EDU (John Mitchell)
Wed Jun 7 17:35:46 1995

From: johnm@medicus.com (John Mitchell)
To: java-interest@java.Eng.Sun.COM
Date: Wed, 7 Jun 95 13:47:28 PDT

I have a printed copy of "The Java Language Environment" that was
distributed at SunWorld '95.

In Chapter 4 "Interpreted, Dynamic, Secure, and Threaded", on page 45
in the section "Java Supports Threads at the Language Level" the
last paragraph states:
	Java's threads are pre-emptive.  If your applications are
	likely to be compute intensive, you might consider how to
	give up control periodically to give other threads a
	chance to run.  This will insure better interactive
	response for graphical applications.

So what's the deal?  Are threads in Java pre-emptive or not?  Or
does it totally rely on the thread package built into Java on the
runtime system?

Either way the white paper should be fixed and the documentation
of the Thread class should be amended to make this clear.

Thanks,
	John
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post