POV-Ray : Newsgroups : povray.off-topic : A tale of two cities : Re: A tale of two cities Server Time
29 Jul 2024 18:18:55 EDT (-0400)
  Re: A tale of two cities  
From: clipka
Date: 14 Mar 2012 12:14:41
Message: <4f60c3f1$1@news.povray.org>
Am 14.03.2012 16:52, schrieb Warp:
> clipka<ano### [at] anonymousorg>  wrote:
>> While this is true, it is not a problem specific to reference counting,
>> but one that is inherent in /any/ attempt at automatic object lifetime
>> management.
>
>    It's not a problem for a garbage collector.

Last time I heard, reference counting /is/ a garbage collection mechanism.

>    And btw, cyclic references are not the only problematic situation with
> reference counting. There are cases where objects may be deleted too early,
> while there's still code using them.

I can't think of any reason why that could possibly happen, provided 
that the reference counting is implemented in a thread-safe manner.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.