Stef,

I loaded the ThreadSafeTranscript package from squeaksource and found  
out one problem.

The stream is not correctly reset after each access.
Original code uses "stream reset" but using "stream resetContents"  
works much better.

Cheers.

François

Le 28 mai 09 à 23:52, Stéphane Ducasse a écrit :

> Not this one.
>  ThreadSafeTranscript is on squeaksource same name.
> Now I just check and I do not know why is shown
> Argh
>
> Stef
>
>
> On May 28, 2009, at 11:27 PM, François Tanguy wrote:
>
>> Name: Nile-Clients-damiencassou.101
>> Author: damiencassou
>> Time: 17 February 2009, 6:29:21 pm
>> UUID: c84dacab-8c7e-48b4-b9ff-31f712051122
>> Ancestors: Nile-Clients-damiencassou.99, Nile-Clients-damiencassou. 
>> 100
>>
>> François
>>
>> Le 28 mai 09 à 23:19, Stéphane Ducasse a écrit :
>>
>>> 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
>>
>>
>> _______________________________________________
>> 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