From: Benoit Daloze Date: 2010-03-13T23:09:12+09:00 Subject: Re: Is ruby-1.9 threads data safer? --00163646bb6c143eab0481af31b4 Content-Type: text/plain; charset=ISO-8859-1 On 12 March 2010 18:03, Roger Pack wrote: > > > My ruby version is 1.9, running under Linux-2.6.31 kernel. > > For the code above, though we know the @count isn't safe for sharing. > > But the result is always correct. > > So can we say ruby-1.9 behaves better on threads than 1.8? > > Nope you just got lucky :) > -r > -- > Posted via http://www.ruby-forum.com/. > > We've got a big luck in 1.9 then ;) All my tries in 1.8 failed and in 1.9.2 passed --00163646bb6c143eab0481af31b4--