<?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: Unthreaded threads of hobbiton</title>
	<atom:link href="http://gnufied.org/2008/06/12/unthreaded-threads-of-hobbiton/feed/" rel="self" type="application/rss+xml" />
	<link>http://gnufied.org/2008/06/12/unthreaded-threads-of-hobbiton/</link>
	<description>On Ruby, Rails, Concurrency and fiction</description>
	<lastBuildDate>Tue, 13 Sep 2011 22:17:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Ben B</title>
		<link>http://gnufied.org/2008/06/12/unthreaded-threads-of-hobbiton/#comment-1996</link>
		<dc:creator>Ben B</dc:creator>
		<pubDate>Wed, 18 Jun 2008 21:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://gnufied.org/2008/06/12/unthreaded-threads-of-hobbiton/#comment-1996</guid>
		<description>Instead of forcing the callback proc at the end of the threads execution, why not just let people call the callback proc when they want to?  

If I understand this correctly, you should be able to call the callback proc multiple times within a thread if you want?</description>
		<content:encoded><![CDATA[<p>Instead of forcing the callback proc at the end of the threads execution, why not just let people call the callback proc when they want to?  </p>
<p>If I understand this correctly, you should be able to call the callback proc multiple times within a thread if you want?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hemant</title>
		<link>http://gnufied.org/2008/06/12/unthreaded-threads-of-hobbiton/#comment-1995</link>
		<dc:creator>Hemant</dc:creator>
		<pubDate>Wed, 18 Jun 2008 19:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://gnufied.org/2008/06/12/unthreaded-threads-of-hobbiton/#comment-1995</guid>
		<description>Hmm, true:

in meta_worker.rb:

&lt;pre&gt;
  ActiveRecord::Base.verify_active_connections!
- result = (block_arity == 0 ? task.block.call : task.block.call(*(task.data)))
+ data = (task.data.is_a?(Array)) ? *(task.data) : task.data
+ result = (block_arity == 0 ? task.block.call : task.block.call(data))
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Hmm, true:</p>
<p>in meta_worker.rb:</p>
<pre>
  ActiveRecord::Base.verify_active_connections!
- result = (block_arity == 0 ? task.block.call : task.block.call(*(task.data)))
+ data = (task.data.is_a?(Array)) ? *(task.data) : task.data
+ result = (block_arity == 0 ? task.block.call : task.block.call(data))
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chaz</title>
		<link>http://gnufied.org/2008/06/12/unthreaded-threads-of-hobbiton/#comment-1990</link>
		<dc:creator>Chaz</dc:creator>
		<pubDate>Wed, 18 Jun 2008 01:28:24 +0000</pubDate>
		<guid isPermaLink="false">http://gnufied.org/2008/06/12/unthreaded-threads-of-hobbiton/#comment-1990</guid>
		<description>Hi! 

I was trying out fetch_parallely earlier today and I noticed that if args is a hash, foo ends up being an array of key/value pair arrays. For example, {:a =&gt; :b, :c =&gt; :d} turns into [[:a, :b], [:c, :d]]. 

Any ideas why that would be happening?</description>
		<content:encoded><![CDATA[<p>Hi! </p>
<p>I was trying out fetch_parallely earlier today and I noticed that if args is a hash, foo ends up being an array of key/value pair arrays. For example, {:a =&gt; :b, :c =&gt; :d} turns into [[:a, :b], [:c, :d]]. </p>
<p>Any ideas why that would be happening?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

