|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Question on Concurrency and Lists |
Date: | Thu, 16 Dec 2010 21:23:36 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6 |
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.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |