From 863e08732624822bac9fe546dc13ef2b6d23e542 Mon Sep 17 00:00:00 2001 From: kosaki Date: Tue, 27 Nov 2012 02:00:29 +0000 Subject: * 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 --- thread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 5214c68955..c9471717e0 100644 --- a/thread.c +++ b/thread.c @@ -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); } -- cgit v1.2.3