new D2.0 + C++ language
BCS
ao at pathlink.com
Fri Mar 20 11:54:03 PDT 2009
Reply to Weed,
> BCS пишет:
>
>> As I understand the concept "reference counting" is a form of GC.
>>
> In the proposed language is a way to learn mistake - deleting object
> in another thread that still have a reference.
>
> In other words, it is a way to provide proof that the reference refers
> to an object rather than the emptiness or garbage.
>
OK, than quit calling it reference counting because everyone will think of
something else when you call it that.
Also, what you are proposing would not be specific to threads. The problem
of deleting stuff early is just as much a problem and looks exactly the same
in non threaded code.
More information about the Digitalmars-d
mailing list