On Sat, Jun 20, 2015 at 6:56 PM, Eugene Zatepyakin <zatepya...@gmail.com> wrote:
> Hi Dmitry,
>
> thanx for your explanation.
> i did quick tests on iOS platform and it seems to support DwCAS (that was
> quicks runs and i'm not 100% sure)
>
> i also read in some articles that it is enough to only increment counter
> during "pop" operation does it sounds valid?


Yes, it is enough to ensure that a node cannot be reinserted with the
same counter.
You can also use per-node counters, rather than single global counter.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Scalable Synchronization Algorithms" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to lock-free+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/lock-free/CAEeQi3umGhvLWMqeSS96pSQzZ5nWqbyuBF%3D0_LTaU43-rHQd_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to