diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | thread.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Tue Nov 27 10:31:29 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * thread.c (rb_thread_terminate_all): suppress a warning. + Tue Nov 27 09:29:11 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * thread.c (thread_join): raises ThreadError if target therad @@ -390,6 +390,7 @@ rb_thread_terminate_all(void) PUSH_TAG(); if ((state = EXEC_TAG()) == 0) { + th = GET_THREAD(); native_sleep(th, 0); RUBY_VM_CHECK_INTS_BLOCKING(th); } |