From: ajay paswan Date: 2012-08-29T01:08:52+09:00 Subject: Re: force child threads run paralelly? Tony Arcieri wrote in post #1073605: > On Tue, Aug 28, 2012 at 7:19 AM, ajay paswan > wrote: > >> Ruby version: >> ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] > > > This version of Ruby (also known as MRI, Matz Ruby Interpreter, and also > YARV, Yet Another Ruby VM) does not support parallel multithreading and > instead uses a Global Interpreter Lock (or Global VM Lock) which only > allows one thread to run at a time. > > Many operations release the GIL, such as I/O and certain uses of > cryptographic primitives. However, if you'd truly like to do parallel > computation in Ruby, it's not possible on this version of Ruby. Could you tell me the version's which allow multithread parallelism? and why did they decided to not include multithread parallelism? because I think its a facility.. if I am not wrong? and with time technology should give more facilities.. any specific reason.. really want to know. > You need to use a Ruby implementation without a GIL that supports > thread-level parallelism, such as JRuby or Rubinius. Will I face any problem if I use JRuby or Rubinius.. any compatibility issues? -- Posted via http://www.ruby-forum.com/.