This applet runs two threads with the same priority that call
Thread.yield(). (The threads in the Selfish Scheduling applet did not call yield.)
is based on
but it extends Applet and uses
PoliteRunnerTextArea instead of
PoliteRunnerTextArea merely writes to a TextArea
widget as well as stdout.
Back to the Threads page.
Copyright © 1997, The Regents of the University of California.
All rights reserved.
Last updated: 10/09/05,
comments to: cxh at eecs