IIRC AtomicQueue is not part of collection(s) family.

On 24 December 2015 at 07:41, stepharo <[email protected]> wrote:

> there is AtomicQueue
>
>
> I want something more simple which not force me to remember what is
> semaphore, monitor, mutex  or whatever. Something like this:
>
> threadSafeCollection := AnyCollectionClass threadSafe.
>
> or
>
> threadSafeCollection := AnyCollectionInstance threadSafe.
>
> or more general
>
> threadSafeObject := AnyObjectInstance threadSafe
>
>
> Thread safe wrappers should allow concurrent reads which blocked on writes
> and writes which blocked on anything.
> For example collection #add: method should wait until current #do: or
> #add: completes.  And #do: should wait until current #add: completes.
>
>
> I do not think that we have such behavior.
>
>


-- 
Best regards,
Igor Stasenko.

Reply via email to