[gclist] Mars Rover info from comp.risks
Thu, 8 Jan 1998 09:30:04 +1300
> Hans-Juergen Boehm
> It seems to me that this actually changes the programming model
> Condition variable waits in pthreads (or Java or Modula 3 or Mesa)
> easily specify the thread they are waiting for. In a lot of code
> that's not
My understanding is that the JVM (runtime system, including scheduler)
can track the priority of threads waiting on locks and adjust the
apparent priority of lock holders or the order in which threads get
removed from the lock queue transparently. The interface to the JVM was
written, I believe, to support alternative scheduling implementations.
Good scheduling options are not widely available in JVM's, but that
doesn't mean they're impossible.
Stuart Yeates --- firstname.lastname@example.org