Which version of threadSafeTrasncruipt do you have

I have


clear
        "Clear all characters and redisplay the view"
        
        self changed: #clearText.
        accessSemaphore
                critical: [ stream reset ]

Stef


On May 28, 2009, at 11:06 PM, François Tanguy wrote:

> Yes I already tried but a DNU showed up when trying to execute
> "STranscript clear".
> The method reset does not exist. See the implementation below.
>
> clear
>       "Clear all characters and redisplay the view"
>       
>       accessSemaphore critical:
>                               [ self changed: #clearText.
>                               self reset ]
>
> François
>
> Le 28 mai 09 à 22:56, Stéphane Ducasse a écrit :
>
>> francois
>>
>> on squeaksource there is a threadsafeTranscript
>> can you try it?
>> The idea is to get it to replace the non thread safe (= defult one).
>>
>> Stef
>> On May 28, 2009, at 10:49 PM, François Tanguy wrote:
>>
>>> Hello,
>>>
>>> try this in a workspace (image 10319) :
>>>
>>> "First open a Transcript via the world menu"
>>> Transcript clear.
>>> 5 timesRepeat: [ [Transcript show: 'Hello'] fork ]
>>>
>>> Behavior is bad.
>>>
>>>
>>> Now, try the following:
>>>
>>> Transcript clear.
>>> Transcript open.
>>> 5 timesRepeat: [ [Transcript show: 'Hello'] fork ]
>>>
>>> It is always working.
>>>
>>>
>>> Is it a known problem ? Should we open an issue ?
>>>
>>> François
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [email protected]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to