diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 02:00:29 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 02:00:29 +0000 |
commit | 863e08732624822bac9fe546dc13ef2b6d23e542 (patch) | |
tree | 08644ae13f494017bbf96f68470dc612f919fc5a | |
parent | b1a18cf49bc475e6c563f55b23fa36594d70f4bc (diff) | |
download | ruby-863e08732624822bac9fe546dc13ef2b6d23e542.tar.gz |
* thread.c (rb_thread_terminate_all): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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); } |