On Oct 12, 2012, at 10:18 AM, denizzzka <4deni...@gmail.com> wrote:

> Thanks for answer!
> 
> After investigation came to the conclusion that here is needed not 
> synchronized-based solution. I am need compare-and-swap single linked list 
> because it will be used in callback proc from C, and it cannot be throwable, 
> but synchronized contains throwable _d_monitorenter and_d_monitorexit.
> 
> I would be grateful if someone share singly linked list based on cas()

There's a sample Stack and SList implementation in the concurrency chapter:

http://www.informit.com/articles/printerfriendly.aspx?p=1609144

Reply via email to