FAQ#25
Why does subtle cause to many wakeups?
Category: | General | Difficulty: | ![]() |
Assignee: | - | Due date: | |
Related issue: | - | Related Message: | - |
Related version: | - | Views: | 3226 |
Valid: | Valid |
Answer
The wakeups are caused by a Ruby internal polling thread that runs every 10ms to schedule/handle other threads and signals. There is currently no way to avoid that in YARV, although the problem is well known.
http://www.ruby-forum.com/topic/200147
There is finally some progress regarding this: http://www.ruby-forum.com/topic/549998
Also available in: PDF