C
Chris Thomasson
SM Ryan said:# FWIW, here is an experimental protoyope of an atomically thread-safe
# reference counted pointer:
How well does it collect cyclic graphs?
Currently, you have to be careful about cycles... An object A that
explicitly references object B, which in turn explicitly references object A
== leak... So, you have to resort to using tricky reference counting
techniques, which are compatible with my current algorithm, to get around
the cycle problem.
However, there is a way to add weak pointers to my algorithm which would
render it immune to the cycle problem... Not sure if I should do it or
not...
Humm...