From: Robert Klemme Date: 2011-10-18T05:13:39+09:00 Subject: Re: Ruby and threading On Mon, Oct 17, 2011 at 10:02 PM, Alexey Petrushin wrote: > Maybe it's a stupid question, but I can't get it - what's the point of > using OS threads with GIL? > > You'll anyway never get situation where two thread runs simultaneously, > so, what's the point of it? No, with a GIL no two threads can concurrently hold the lock. But a thread which does not need the lock can execute in parallel (e.g. while doing a syscall). For specifics you would have to ask Matz or read the source. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/