On Wed, 17 Oct 2007 10:39:10 -0500, Charles Oliver Nutter <[EMAIL PROTECTED]> 
wrote:
> Well now that is unusual. I've never seen or expected it to be possible
> to have Thread#setPriority throw a NPE. I'll poke around a bit on that
> one.

One issue is that threads which do not descend from the Java thread that
initialized the runtime (or were created prior to the setup of the Ruby
Thread class in that runtime) are not guaranteed to see the initialized value
of RubyThread.threadImpl, since there is no other synchronization of reads
on it.

I'd actually be a little surprised if that was the problem here, but
it seems like something that should be addressed at some point, probably
by making threadImpl a final field.

-mental


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to