Hi --

On Fri, 21 Apr 2006, Robert Dober wrote:

> On 4/21/06, Andy Gimblett <A.M.Gimblett / swansea.ac.uk> wrote:
>>
>> Hi all,
>>
>> I just ran the example at the end of FAQ 4.2
>>
>>     http://www.rubycentral.com/faq/rubyfaq-4.html#ss4.2
>>
>> The FAQ text says this produces:
>>
>>> onetwo: : 00
>>>
>>> onetwo: : 11
>>>
>>> onetwo: : 33
>>
>> This confused me, so I ran the code and got:
>>
>>> one: 0
>>> two: 0
>>> one: 1
>>> two: 1
>>> one: 3
>>> two: 3
>>
>> which made more sense.  OK, so thread scheduling is nondetermininistic
>> and there's no mutual exclusion on stdout, so I can see how the output
>> given in the FAQ entry _could_ happen - however, I think the version I
>> saw demonstrates the FAQ's point more clearly.
>>
>> Who should I tell about this?  Raise a bug?  Or is raising the alarm
>> hereabouts sufficient?  :-)
> Hmm why don't you drop a mail to the FAQ maintainer mailto:
> dave / pragmaticprogrammer.com ?

Actually the FAQ is now maintained at Ruby Garden:
http://www.rubygarden.org/faq.  The old one, at rubycentral.com,
should connect you to the new one.


David

-- 
David A. Black (dblack / wobblini.net)
Ruby Power and Light, LLC (http://www.rubypowerandlight.com)

"Ruby for Rails" PDF now on sale!  http://www.manning.com/black
Paper version coming in early May!