Rainer Schuetze wrote:
On 29.06.2013 09:36, Rainer Schuetze wrote:
>                         inc [ecx].refcnt
> done:
                          mov [S], ecx


Just wanted to add the book states that lock-free reference counting can be implemented with a cas2 operation modifying two seperate locations atomically. Unfortunately this operation does not exist in most processors. This might be the quoted paper: http://scholr.ly/paper/2199608/lock-free-reference-counting

Reply via email to