logo       

Re: BlockClosure>>fork problem: msg#00143

lang.smalltalk.squeak.beginners

Subject: Re: BlockClosure>>fork problem


On 20 févr. 07, at 21:55, Bert Freudenberg wrote:


On Feb 20, 2007, at 21:28 , George Herolyants wrote:

Thanks for this answer, Ron. But actually I'm not confused with order in wich '1' and '2' presents in result line. I can't understand why in some cases this code results ten '1' and ten '2' and in some cases it results ten '2' and only nine '1'?

Oh, that's indeed a bug. Transcript is unreliable when called from different processes. The mutex inside the Transcript only protects the change reporting but not the actual stream writing.

Bert what do you mean by change reporting?

Stef

- Bert -


_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise