[248] in java-interest
Re: java-interest-digest V1 #51
daemon@ATHENA.MIT.EDU (Greg Wilkins)
Fri Jun 9 05:24:47 1995
From: Greg Wilkins <gregw@ind.tansu.com.au>
Date: Fri, 9 Jun 1995 19:10:53 +1000
To: java-interest@java.sun.com
> I fully agree with whoever asked for truly pre-empty threads, ....
> it would seem worth even delaying beta for this type of improvement.
The way the Java threads are specified, is very useful for a significant
group of applications.
Adding round Robin pre-emption makes the scheduler suitable for a perhaps
larger group of applications.
But then there are other applications that would like fair share style
scheduling, where all applications get a go at the CPU, but high priority
threads get more CPU. However, this now shuts the door on many
applications that like the current style of scheduling.
The Object Oriented solution to this problem, is to provide a schedular
class that is used by the Java RunTime. The default instance would
provide the current scheduling. Users/developers could specialize this
class to provide different types of scheduling. Different scheduling
strategies could even be applied to different ranges of priorities.
-------------------------------------------------------------------------------
Greg Wilkins:Consultant for Object Oriented Pty. Ltd. (OOPL)|You're not Dorothy
Site @Telecom, Intelligent Network Development |I'm not Toto!
Snail:P.O. Box 1826,North Sydney,NSW.2089, Australia |And this
Email:gregw@ind.tansu.com.au (gregw@oose.com.au) |definitely is
Fax :(+61 2) 3953225 or OOPL Office:(+61 2) 9565089 |not Kansas!
Phone:(+61 2) 3953461 or OOPL Office:(+61 2) 9571092 | -Fleischman
-------------------------------------------------------------------------------
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com