Hi!
Marcus Denker wrote:
> On 04.06.2009, at 19:09, Gabriel Cotelli wrote:
>
>> Hi,
>>
>> anybody knows why exists SharedQueue2 ??
>>
>> Seem to be used only in test cases...
>
> There used to be problems with SharedQueue, so Lex Spoon (I think)
> proposed
> to use a Monitor based one with tests. We added that to 3.9 at some
> point, with
> the idea of testing it.
>
> I think SharedQueue2 can be removed, there have been bugfixes included
> for SharedQueue
> in the meantime.
>
> Marcus
If you really want "The best" you could also take a look at
SharedStreams on SM:
http://map.squeak.org/packagebyname/sharedstreams...it has a IMHO more solid SharedQueue implementation
(SharedBufferStream) (IIRC we found several problems with SharedQueue)
that is also much faster in some operations. The description says it is
"for strings and bytes" but it should be updated because in fact it
works for any kind of objects.
regards, Göran
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project