<?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: XNA Resource Pool</title>
	<atom:link href="http://codecube.net/2010/01/xna-resource-pool/feed/" rel="self" type="application/rss+xml" />
	<link>http://codecube.net/2010/01/xna-resource-pool/</link>
	<description>Joel Martinez' weblog</description>
	<lastBuildDate>Thu, 29 Jul 2010 09:05:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Joel Martinez</title>
		<link>http://codecube.net/2010/01/xna-resource-pool/comment-page-1/#comment-894</link>
		<dc:creator>Joel Martinez</dc:creator>
		<pubDate>Wed, 06 Jan 2010 04:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://codecube.net/?p=231#comment-894</guid>
		<description>I actually originally had a Func, but it&#039;s actually more useful to just have a custom initialization function. Because in the case where you are reusing a previously existing object, you will likely just want to reset certain values instead of creating a new instance as you would with the Func :-)</description>
		<content:encoded><![CDATA[<p>I actually originally had a Func, but it&#8217;s actually more useful to just have a custom initialization function. Because in the case where you are reusing a previously existing object, you will likely just want to reset certain values instead of creating a new instance as you would with the Func <img src='http://codecube.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George Tsiokos</title>
		<link>http://codecube.net/2010/01/xna-resource-pool/comment-page-1/#comment-893</link>
		<dc:creator>George Tsiokos</dc:creator>
		<pubDate>Tue, 05 Jan 2010 12:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://codecube.net/?p=231#comment-893</guid>
		<description>If you back it with .NET 4&#039;s (or .NET 3.5&#039;s via RX) BlockingCollection, then you can easily make it thread-safe and have the ability to block instead of creating a new instance. Of course, you may continue the same behavior as well with SyncronizedQueue. In addition, you may want to have a Func in the constructor to use as the factory so you can get rid of the new() generic constraint. 

--
Sent from my iPhone</description>
		<content:encoded><![CDATA[<p>If you back it with .NET 4&#8242;s (or .NET 3.5&#8242;s via RX) BlockingCollection, then you can easily make it thread-safe and have the ability to block instead of creating a new instance. Of course, you may continue the same behavior as well with SyncronizedQueue. In addition, you may want to have a Func in the constructor to use as the factory so you can get rid of the new() generic constraint. </p>
<p>&#8211;<br />
Sent from my iPhone</p>
]]></content:encoded>
	</item>
</channel>
</rss>
