* src/native/vm/gnuclasspath/java_lang_VMThread.cpp: Use thread_handle_*
functions for interrupt, isInterrupted, setPriority, getState.
* src/threads/thread.cpp (threads_thread_start): Take the ThreadList lock
when calling set_vmdata.
* src/threads/thread.cpp, src/threads/thread.hpp: Added
thread_handle_set_priority, thread_handle_is_interrupted,
thread_handle_interrupt, thread_handle_get_state for querying/manipulating
threadobjects while holding the ThreadList lock.
* src/threads/threadlist.hpp: Added RAII ThreadListLocker.
These changes seem to fix PR120 for GNU classpath. For OpenJDK, the situation
is still a bit messy.
--HG--
extra : transplant_source : %15%8B%B4%86%CAk%2C%0DL%D0%D6V%97%81%F1%7E%07.%A5M