[1732] in java-interest
Re: Threads don't make sense
daemon@ATHENA.MIT.EDU (Robert O'Callahan)
Fri Sep 15 10:36:45 1995
Date: Thu, 14 Sep 1995 15:53:30 -0400
To: java-interest@java.sun.com
From: "Robert O'Callahan" <roc+@cs.cmu.edu>
flar@bendenweyr.Eng.Sun.COM (Jim Graham) wrote:
> Some (future) implementations of Java may preempt threads
> within a priority level. Higher priority threads are
> guaranteed to preempt, but that does not mean that same
> priority threads won't...
Er, I believe that Win95/NT Java does this right now. PLEASE don't anyone
write code assuming that certain threads don't preempt each other. Your
code will fail on Java's biggest platform in subtle, bizarre and
non-deterministic hard-to-track-down ways - Heisenbugs.
On another note, Thede Loder <tlod@match.com> wrote:
>Also, in the new AWT libraries, I've noticed that the access to instance
>variables has all but disappeared. Why the shift?
Good move. The less stuff exposed the better, especially writeable public
instance variables.
Rob
[Robert O'Callahan (roc+@cs.cmu.edu) 2nd year CMU SCS PhD
Home page: http://www.cs.cmu.edu/~roc
"Grant that we may not so much seek to be consoled as to console; to
be understood as to understand; to be loved as to love."
- From A Prayer of St Francis]
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com