Ruby 1.9 implements Thread objects with native OS threads. There is always a native thread allocated behind the scenes when an instance of Thread class appears in Ruby program. But there is a twist: actually at most one Ruby thread is allowed to run at any given time during program execution.
Ruby multi-threading programs will not gain real advantage when executed on multi-core CPUs.
Showing posts with label YARV. Show all posts
Showing posts with label YARV. Show all posts
Tuesday, January 5, 2010
Subscribe to:
Posts (Atom)