<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: A basic mutable state in an Erlang process</title>
	<link>http://notwaving.net/wordpress/2007/08/20/a-basic-mutable-state-in-an-erlang-process/</link>
	<description>Does any of it make any sense?</description>
	<pubDate>Tue, 06 Jan 2009 08:24:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: Michael Campbell</title>
		<link>http://notwaving.net/wordpress/2007/08/20/a-basic-mutable-state-in-an-erlang-process/#comment-6728</link>
		<pubDate>Wed, 29 Aug 2007 18:20:19 +0000</pubDate>
		<guid>http://notwaving.net/wordpress/2007/08/20/a-basic-mutable-state-in-an-erlang-process/#comment-6728</guid>
					<description>There's a section in Joe's book about code replacement, just before the introducing gen_server part.   It was one of the (many) &quot;ah-hah!&quot; sections for me.</description>
		<content:encoded><![CDATA[<p>There&#8217;s a section in Joe&#8217;s book about code replacement, just before the introducing gen_server part.   It was one of the (many) &#8220;ah-hah!&#8221; sections for me.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tom</title>
		<link>http://notwaving.net/wordpress/2007/08/20/a-basic-mutable-state-in-an-erlang-process/#comment-6633</link>
		<pubDate>Wed, 22 Aug 2007 20:30:31 +0000</pubDate>
		<guid>http://notwaving.net/wordpress/2007/08/20/a-basic-mutable-state-in-an-erlang-process/#comment-6633</guid>
					<description>Thank you Patrick.  Dynamic upgrade is something I am looking forward to investigating (but I still have a huge amount to grok first).</description>
		<content:encoded><![CDATA[<p>Thank you Patrick.  Dynamic upgrade is something I am looking forward to investigating (but I still have a huge amount to grok first).
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Patrick Logan</title>
		<link>http://notwaving.net/wordpress/2007/08/20/a-basic-mutable-state-in-an-erlang-process/#comment-6626</link>
		<pubDate>Wed, 22 Aug 2007 17:00:05 +0000</pubDate>
		<guid>http://notwaving.net/wordpress/2007/08/20/a-basic-mutable-state-in-an-erlang-process/#comment-6626</guid>
					<description>Nicely explained.

And if you call...

basic:loop(X)   % Fully qualified module:function name

...then the system will check for a new version of the basic module to load before calling loop. So you can upgrade the loop function while running if desired.

One way to do that is have another message pattern looking for the atom 'upgrade' or some such. The message could include a magic token to indicate the sender is capable of sending the 'upgrade' message.</description>
		<content:encoded><![CDATA[<p>Nicely explained.</p>
<p>And if you call&#8230;</p>
<p>basic:loop(X)   % Fully qualified module:function name</p>
<p>&#8230;then the system will check for a new version of the basic module to load before calling loop. So you can upgrade the loop function while running if desired.</p>
<p>One way to do that is have another message pattern looking for the atom &#8216;upgrade&#8217; or some such. The message could include a magic token to indicate the sender is capable of sending the &#8216;upgrade&#8217; message.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
