draft proposal for ref counting in D

Walter Bright newshound2 at digitalmars.com
Wed Oct 9 19:20:52 PDT 2013


On 6/27/2013 11:33 AM, Rainer Schuetze wrote:
 > On 27.06.2013 19:04, Walter Bright wrote:
 >>> IIRC you also have the GC handbook book on your shelf. Check the
 >>> chapters on RC, especially algorithm 18.2 "Eager reference counting with
 >>> CompareAndSwap is broken".
 >>
 >> I have the book, but it is the first edition and there's no chapter 18
 >> in it :-(
 >
 > I can remove the dust from my scanner to copy the 3 mostly relevant pages and 
send them to you.
 >
 >

I understand the issue (I think), but I can't think of a case where the ref 
count would be 1 when this happens.



More information about the Digitalmars-d mailing list