From: rex goxman Date: 2012-07-07T00:12:10+09:00 Subject: Re: Green threads in 1.9.* ? Bill Paulson wrote in post #1067690: > Ruby programmers usually > use the term "green threads" to mean implementations of Ruby's Thread > class where the scheduling doesn't use OS support. These threads are > otherwise middle-weight, akin to a Linux pthread. The expected use-case > for Ruby Thread objects would usually have only a smallish number of > objects, often approximating the number of cores in a server. For this > sort of model, moving to an OS supported thread means that multicore > parallelism is easier to achieve. > > Rex, it sounds like the "green" threads you are thinking of may be a > flyweight sort of object, where a program might have hundreds or > thousands of entities. Very helpful. Indeed, the green threads I was thinking of were a virtual flyweight sort of object similar to what I've used in other systems. I wasn't aware that there were different usages of the term. Thanks for the Rubyist usage of the term, and the clarification. I'm willing to call the discussion closed and move on. Regards. -- Posted via http://www.ruby-forum.com/.