From: hemant Date: 2007-11-16T07:20:49+09:00 Subject: Re: state of threads in 1.9 On Nov 15, 2007 9:58 PM, MenTaLguY wrote: > On Thu, 15 Nov 2007 22:38:05 +0900, Sylvain Joyeux wrote: > > Would not it be possible to release the global lock manually in C > > extensions ? Wasn't there a talk of possibility of allowing release of global lock in C extensions, allowing fine grained control to C extension authors, who want more than one thread running parallely? > > > I guess that implementation of blocking calls like > > Mutex#lock, #select and such must release the global lock before calling > > the blocking functions ? > > There is rb_thread_blocking_region()... > > -mental > > > -- Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. http://gnufied.org