From: Maximilian Gass Date: 2010-06-13T20:32:01+09:00 Subject: [ruby-core:30756] [Feature #3436] Spawn the timer thread lazily Feature #3436: Spawn the timer thread lazily http://redmine.ruby-lang.org/issues/show/3436 Author: Maximilian Gass Status: Open, Priority: Normal 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. ---------------------------------------- http://redmine.ruby-lang.org