help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Question on Concurrency and Lists


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] Question on Concurrency and Lists
Date: Thu, 16 Dec 2010 21:30:26 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.7

On 12/16/2010 09:23 PM, Paolo Bonzini wrote:
> On 12/16/2010 09:17 PM, Holger Hans Peter Freyther wrote:
>> Hi all,
>>
>> when I know that I will add/remove items from an OrderedCollection in 
>> multiple
>> processes, I should always go through a critical section? Or is there some
>> nice guarantee on atomicity of these operations?
> 
> Nope, the possibility that the OC must grow pretty much eliminates all
> guarantees.

thanks. Is there a container with built-in synchronization?  or a generic
wrapper that handles doesNotUnderstood and then calls the wrapped class with
the lock held?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]