[Cuis-dev] Bag>>#sum:ifEmpty:

Andres Valloud ten at smallinteger.com
Wed Nov 2 22:58:48 PDT 2022


Agreed, I've run into this for queues many times.

On 11/2/22 10:44 PM, Martin McClure via Cuis-dev wrote:
> * The iterating thread may want to add or remove elements while it iterates.
> A queue is a simple example of this kind of collection, where the 
> iterator is unconditionally removing elements as they're iterated, while 
> some other entity may be concurrently adding elements.


More information about the Cuis-dev mailing list