logo       

Re: BlockClosure>>fork problem: msg#00101

lang.smalltalk.squeak.beginners

Subject: Re: BlockClosure>>fork problem


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 -


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

News | FAQ | advertise