[Newbies] BlockClosure>>fork problem

Bert Freudenberg bert at freudenbergs.de
Wed Feb 28 20:16:59 UTC 2007


On Feb 28, 2007, at 20:56 , stephane ducasse wrote:

>
> 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?

It is only used in

	TranscriptStream>>endEntry

to protect

	self changed: #appendEntry.

- Bert -




More information about the Beginners mailing list