From: rex goxman Date: 2012-07-06T06:22:19+09:00 Subject: Re: Green threads in 1.9.* ? Eric Hodel wrote in post #1067586: > Ruby schedules use of the GVL for threads created by the ruby VM. > > A Ruby thread may release the GVL to run non-ruby code. What is a ruby thread? A green thread? A kernel thread? A green thread mapped to a kernel thread? The depiction at the link somewhere above seems to suggest it is a green thread which is mapped one-to-one to a kernel thread. Some here suggest there is no such thing, just kernel threads. I will assume it is a kernel thread unless you say otherwise. Eric Wong wrote... > I know you don't like fibers, but the "neverblock" gem uses Fibers > transparently under 1.9 to provide green threads. However, I'm > not sure how active "neverblock" development is these days. Actually I like fibers quite a bit, I just didn't think they were applicable in this particular circumstance. I can check into neverblock - thanks. -- Posted via http://www.ruby-forum.com/.