Hello
Can you let us know why you are using pharo 40? It is around at least
three years old and we made a lot of progress in the last 3 years.
Stef
On Mon, Apr 9, 2018 at 10:00 AM, Trussardi Dario Romano
wrote:
> Ciao,
>
> in the Pharo 4.0 image i have a
There is #removeAll.
You should also check out #keysAndValuesRemove:
Removing from a collection while iterating over it is dangerous.
> On 9 Apr 2018, at 10:00, Trussardi Dario Romano
> wrote:
>
> Ciao,
>
> in the Pharo 4.0 image i have a IdentityDictionary
Hi Dario,
On 9 April 2018 at 10:00, Trussardi Dario Romano
wrote:
> Ciao,
>
> in the Pharo 4.0 image i have a IdentityDictionary with ten items.
>
> Now when i reset the dictionary the system behaves as follows:
>
> Version A) resetAllLocks
>
Ciao,
in the Pharo 4.0 image i have a IdentityDictionary with ten items.
Now when i reset the dictionary the system behaves as follows:
Version A) resetAllLocks
locks keysAndValuesDo:[:k :v | locks removeKey:
k ifAbsent: [self