From: Issac Date: 2001-12-09T21:17:12+09:00 Subject: [ruby-talk:28021] Re: mutex problem Good point, but it still hangs on my windows 2000 system. ----- Original Message ----- From: "Leo Laursen" <1858323m001@mail1.stofanet.dk> To: "ruby-talk ML" Sent: Sunday, December 09, 2001 5:04 AM Subject: [ruby-talk:28020] Re: mutex problem > Den 9-12 2001 kl. 11:44:11 +0900, skrev Issac: > > counter = Thread.new do > > loop do > > mutex.sychronize do > > count1 += 1 > > count2 += 1 > > end > > end > > end > > Is the typo "sychronize" in your code? > I corrected it in my test. > > Leo > -- > Mathematics deals exclusively with the relations of concepts > to each other without consideration of their relation to experience. > -- Albert Einstein