aboutsummaryrefslogtreecommitdiff
path: root/libjava/defineclass.cc
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@albatross.co.nz>1999-12-24 01:00:46 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>1999-12-24 01:00:46 +0000
commit43cbc9430d557a3219ff833751c38132f831036e (patch)
tree42d8776b8882e3c389088fa07c0348d511ab5edf /libjava/defineclass.cc
parent07875628ee1bbcc753b44b4d962779d577cd605a (diff)
downloadgcc-43cbc9430d557a3219ff833751c38132f831036e.zip
gcc-43cbc9430d557a3219ff833751c38132f831036e.tar.gz
gcc-43cbc9430d557a3219ff833751c38132f831036e.tar.bz2
natObject.cc (notify): Throw message with IllegalMonitorStateException.
1999-12-22 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/natObject.cc (notify): Throw message with IllegalMonitorStateException. (notifyAll): Ditto. (wait): Ditto. * java/lang/Thread.java (isInterrupted): Don't clear interrupt_flag. (isInterrupted_): New function, which does clear interrupt_flag. (interrupt): Use `isInterrupted_'. * java/lang/natThread.cc (interrupt): Add comment. (join): Set `Prev' in joiner loop. Change various calls to `isInterrupted' to use `isInterrupted_'. * posix-threads.cc (_Jv_CondWait): Allways use pthread_cond_timedwait on linux. Set result to 0 on an interrupt. Test interrupted status of java Thread object directly. FLAG_INTERRUPTED: removed. (_Jv_ThreadStart): Throw OutOfMemoryError if pthread_create fails. (_Jv_ThreadInterrupt): Don't set FLAG_INTERRUPTED. (_Jv_InitThreads): Don't block SIGINT. (_Jv_ThreadWait): Don't configure SIGINT handler. From-SVN: r31082
Diffstat (limited to 'libjava/defineclass.cc')
0 files changed, 0 insertions, 0 deletions