ruby/ruby — pull request #182 by kosaki (2012-09-14 08:33:05+00:00)
Title: Fixed patch for [Bug #4911]

* thread.c (timer_thread_function): fixed a race against thread
context switch.
* thread.c (clear_timer_interrupt): new helper function.