<?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"
	>
<channel>
	<title>Comments on: How Asynchronous Execution Works in RIAs</title>
	<atom:link href="http://gen5.info/q/2008/05/02/how-asynchronous-execution-works-in-rias/feed/" rel="self" type="application/rss+xml" />
	<link>http://gen5.info/q/2008/05/02/how-asynchronous-execution-works-in-rias/</link>
	<description>Towards Intelligent Systems</description>
	<pubDate>Sat, 11 Oct 2008 17:40:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Generation 5 &#187; Keeping Track Of State In Asynchronous Callbacks</title>
		<link>http://gen5.info/q/2008/05/02/how-asynchronous-execution-works-in-rias/#comment-459</link>
		<dc:creator>Generation 5 &#187; Keeping Track Of State In Asynchronous Callbacks</dc:creator>
		<pubDate>Mon, 02 Jun 2008 17:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://gen5.info/q/2008/05/02/how-asynchronous-execution-works-in-rias/#comment-459</guid>
		<description>[...] Functions (or Methods) are always attached to a class in C# and Java: thus, the state of a callback function can be kept in either static or instance variables of the associated class. I don&#8217;t advise using static variables for this, because it&#8217;s possible for more than one asynchronous request to be flight at a time: if two request store state in the same variables, you&#8217;ll introduce race conditions that will cause a world of pain. (see how race conditions arise in asynchronous communications.) [...]</description>
		<content:encoded><![CDATA[<p>[...] Functions (or Methods) are always attached to a class in C# and Java: thus, the state of a callback function can be kept in either static or instance variables of the associated class. I don&#8217;t advise using static variables for this, because it&#8217;s possible for more than one asynchronous request to be flight at a time: if two request store state in the same variables, you&#8217;ll introduce race conditions that will cause a world of pain. (see how race conditions arise in asynchronous communications.) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
