<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: On reference counting</title>
	<atom:link href="http://pvanhoof.be/blog/index.php/2008/07/02/on-reference-counting/feed" rel="self" type="application/rss+xml" />
	<link>http://pvanhoof.be/blog/index.php/2008/07/02/on-reference-counting</link>
	<description>From the mind of Philip</description>
	<lastBuildDate>Sun, 28 Aug 2011 12:59:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Bob</title>
		<link>http://pvanhoof.be/blog/index.php/2008/07/02/on-reference-counting#comment-705</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Thu, 03 Jul 2008 16:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://pvanhoof.be/blog/index.php/2008/07/02/on-reference-counting#comment-705</guid>
		<description>I do not understand, Rob. Picture this (X would be some object within the application and the circle is made of A, B and C):
  X-&gt;A-&gt;B-&gt;C-&gt;A
The reference counts thus are (n for arbitray):
  (n)-&gt;(2)-&gt;(1)-&gt;(1)-&gt;(2)
When the reference from X to A is released, A remains with count of 1, hence no reason to run dispose and the circle stays intact.</description>
		<content:encoded><![CDATA[<p>I do not understand, Rob. Picture this (X would be some object within the application and the circle is made of A, B and C):<br />
  X-&#38;gt;A-&#38;gt;B-&#38;gt;C-&#38;gt;A<br />
The reference counts thus are (n for arbitray):<br />
  (n)-&#38;gt;(2)-&#38;gt;(1)-&#38;gt;(1)-&#38;gt;(2)<br />
When the reference from X to A is released, A remains with count of 1, hence no reason to run dispose and the circle stays intact.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Taylor</title>
		<link>http://pvanhoof.be/blog/index.php/2008/07/02/on-reference-counting#comment-707</link>
		<dc:creator>Rob Taylor</dc:creator>
		<pubDate>Wed, 02 Jul 2008 22:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://pvanhoof.be/blog/index.php/2008/07/02/on-reference-counting#comment-707</guid>
		<description>Hey Phillip,

You&#039;re slightly wrong on the cyclic reference counting issue. Gobjects cope pretty well with cyclic reference without using weak references. The important thing is to release all your object&#039;s references in the dispose method. The objects will only be finalized when the whole cycle has been dereferenced (at at least, that&#039;s the theory..)

Good stuff apart from that though :)

Rob</description>
		<content:encoded><![CDATA[<p>Hey Phillip,</p>
<p>You&#8217;re slightly wrong on the cyclic reference counting issue. Gobjects cope pretty well with cyclic reference without using weak references. The important thing is to release all your object&#8217;s references in the dispose method. The objects will only be finalized when the whole cycle has been dereferenced (at at least, that&#8217;s the theory..)</p>
<p>Good stuff apart from that though :)</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonh Wendell</title>
		<link>http://pvanhoof.be/blog/index.php/2008/07/02/on-reference-counting#comment-706</link>
		<dc:creator>Jonh Wendell</dc:creator>
		<pubDate>Wed, 02 Jul 2008 20:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://pvanhoof.be/blog/index.php/2008/07/02/on-reference-counting#comment-706</guid>
		<description>Hi, great article. Thanks for writing this.

The only section a bit confused to me is Caveats (weak references).</description>
		<content:encoded><![CDATA[<p>Hi, great article. Thanks for writing this.</p>
<p>The only section a bit confused to me is Caveats (weak references).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

