From: Motohiro KOSAKI Date: 2011-06-29T22:44:59+09:00 Subject: [ruby-core:37666] [Ruby 1.9 - Feature #3436][Closed] Spawn the timer thread lazily Issue #3436 has been updated by Motohiro KOSAKI. Status changed from Open to Closed Fixed by r32244. ---------------------------------------- Feature #3436: Spawn the timer thread lazily http://redmine.ruby-lang.org/issues/3436 Author: Maximilian Gass Status: Closed Priority: Normal Assignee: Category: Target version: =begin As discussed in http://redmine.ruby-lang.org/issues/show/1820, Ruby 1.9.1 always spawns a timer thread which is required to handle scheduling of Ruby threads. Rubinius did the same and I suggested to only spawn the thread if it is required, only when Ruby threading is used. I don't know anything about the internals of Ruby, but could this method be used in MRI as well? The timer thread prevents the CPU from going idle and saving power/battery, so it would be nice to avoid it. =end -- http://redmine.ruby-lang.org