From: Issac Date: 2001-12-09T21:23:32+09:00 Subject: [ruby-talk:28022] Re: mutex problem OK, it works on my Linux box but not my Windows 2000 box. Maybe the Ruby threads implementation is slightly broken in Windows. ----- Original Message ----- From: "Leo Laursen" <1858323m001@mail1.stofanet.dk> To: "ruby-talk ML" Sent: Sunday, December 09, 2001 4:48 AM Subject: [ruby-talk:28018] Re: mutex problem > Den 9-12 2001 kl. 11:44:11 +0900, skrev Issac: > > > As a Ruby newbie, I've been excitedly plowing through the Thomas/Hunt book. > > me too :-) > > > But now I'm stuck. On pp. 118-119 there's a piece of code that > > doesn't seem to work: > > -----cut----- > > > When I run this on ruby 1.6.5 (2001-09-19) [i386-cygwin] from the cygwin > > command line, it hangs. It also hangs when I run it in RubyWin 0.0.3.8 > > with the same version of ruby. > > > Can anyone help? > > No, but it works for me. > count1 = 18473 > count2 = 18473 > difference = 0 > ruby -v: > ruby 1.6.5 (2001-11-28) [i386-linux] > > Leo > -- > I'm a lucky guy, and I'm happy to be with the Yankees. And I want to > thank everyone for making this night necessary. > -- Yogi Berra at a dinner in his honor