summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-22 10:45:23 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-22 10:45:23 +0000
commit010c8e5970a662db9a57886cdbcbdc7574c87664 (patch)
tree9523d34035719b526554400b12c7902b0af03a66
parentdf1a46fd4bd96a8e8389cbfaa29a4732e5e2d0f6 (diff)
merge revision(s) 33307:
* thread_pthread.c (ubf_select): activate timer thread when interrupt blocking thread. A patch created by Koichi Sasada. [ruby-core:39634] [Bug #5343] to cover race condition, timer thread periodically send SIGVTARLM to threads in signal thread list. so you should activate timer thread when interrupt a thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog9
-rw-r--r--thread_pthread.c1
-rw-r--r--version.h4
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 17ab25f9ea..ac9c44bf6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Thu Sep 22 19:45:22 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
+
+ * thread_pthread.c (ubf_select): activate timer thread when interrupt
+ blocking thread.
+ A patch created by Koichi Sasada. [ruby-core:39634] [Bug #5343]
+ to cover race condition, timer thread periodically send SIGVTARLM to
+ threads in signal thread list. so you should activate timer thread
+ when interrupt a thread.
+
Wed Sep 21 16:57:03 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/io/wait/test_io_wait.rb (TestIOWait#setup): of course, the
diff --git a/thread_pthread.c b/thread_pthread.c
index 068998e1da..7fa13e2a9c 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -1013,6 +1013,7 @@ ubf_select(void *ptr)
{
rb_thread_t *th = (rb_thread_t *)ptr;
add_signal_thread_list(th);
+ rb_thread_wakeup_timer_thread(); /* activate timer thread */
ubf_select_each(th);
}
diff --git a/version.h b/version.h
index 0b38538618..7eb8b6acab 100644
--- a/version.h
+++ b/version.h
@@ -1,10 +1,10 @@
#define RUBY_VERSION "1.9.3"
#define RUBY_PATCHLEVEL -1
-#define RUBY_RELEASE_DATE "2011-09-21"
+#define RUBY_RELEASE_DATE "2011-09-22"
#define RUBY_RELEASE_YEAR 2011
#define RUBY_RELEASE_MONTH 9
-#define RUBY_RELEASE_DAY 21
+#define RUBY_RELEASE_DAY 22
#include "ruby/version.h"