DIP74: Reference Counted Class Objects

via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 27 06:42:08 PST 2015


On Friday, 27 February 2015 at 13:36:33 UTC, Marc Schütz wrote:
> AddRef/Release is established COM terminology.

Which is from 1993, a period of time where MS was completely 
ignorant of everything outside MS.

Common resource-access terminology is:

acquire/release
retain/release
inc_ref/dec_ref
add_ref/remove_ref
down/up
wait/signal
P/V
open/close
enter/exit
begin/end
…

Notice the symmetry?


More information about the Digitalmars-d mailing list