<?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: A cute hack: Changing the scope of System.out</title>
	<atom:link href="http://www.drmaciver.com/2008/05/a-cute-hack-changing-the-scope-of-systemout/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.drmaciver.com/2008/05/a-cute-hack-changing-the-scope-of-systemout/</link>
	<description></description>
	<lastBuildDate>Wed, 10 Feb 2010 18:19:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Apocalisp</title>
		<link>http://www.drmaciver.com/2008/05/a-cute-hack-changing-the-scope-of-systemout/comment-page-1/#comment-312</link>
		<dc:creator>Apocalisp</dc:creator>
		<pubDate>Fri, 16 May 2008 23:12:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.drmaciver.com/?p=159#comment-312</guid>
		<description>That&#039;s a pretty handy trick. Google Code worthy, even. Nudge, nudge.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a pretty handy trick. Google Code worthy, even. Nudge, nudge.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://www.drmaciver.com/2008/05/a-cute-hack-changing-the-scope-of-systemout/comment-page-1/#comment-300</link>
		<dc:creator>david</dc:creator>
		<pubDate>Thu, 15 May 2008 11:57:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.drmaciver.com/?p=159#comment-300</guid>
		<description>Oh, hell. Good point. Thanks.</description>
		<content:encoded><![CDATA[<p>Oh, hell. Good point. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bas de Bakker</title>
		<link>http://www.drmaciver.com/2008/05/a-cute-hack-changing-the-scope-of-systemout/comment-page-1/#comment-299</link>
		<dc:creator>Bas de Bakker</dc:creator>
		<pubDate>Thu, 15 May 2008 11:56:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.drmaciver.com/?p=159#comment-299</guid>
		<description>Nice, but unfortunately a PrintStream isn&#039;t thread safe. It has a &quot;trouble&quot; flag that is set when the underlying stream throws an IOException. So to get this right you&#039;d need to subclass PrintStream and override all its methods to forward to a thread local variable.</description>
		<content:encoded><![CDATA[<p>Nice, but unfortunately a PrintStream isn&#8217;t thread safe. It has a &#8220;trouble&#8221; flag that is set when the underlying stream throws an IOException. So to get this right you&#8217;d need to subclass PrintStream and override all its methods to forward to a thread local variable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://www.drmaciver.com/2008/05/a-cute-hack-changing-the-scope-of-systemout/comment-page-1/#comment-297</link>
		<dc:creator>david</dc:creator>
		<pubDate>Thu, 15 May 2008 09:34:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.drmaciver.com/?p=159#comment-297</guid>
		<description>Of course you can. But who said anything about spawning processes? I need these things running in the same VM. 

This is about redirecting the standard output for a specific thread.</description>
		<content:encoded><![CDATA[<p>Of course you can. But who said anything about spawning processes? I need these things running in the same VM. </p>
<p>This is about redirecting the standard output for a specific thread.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madoc</title>
		<link>http://www.drmaciver.com/2008/05/a-cute-hack-changing-the-scope-of-systemout/comment-page-1/#comment-296</link>
		<dc:creator>Madoc</dc:creator>
		<pubDate>Thu, 15 May 2008 09:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.drmaciver.com/?p=159#comment-296</guid>
		<description>I don&#039;t quite understand this. If You spawn a new process in Java, You can very well capture/override the standard input, output and error streams for that process only.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t quite understand this. If You spawn a new process in Java, You can very well capture/override the standard input, output and error streams for that process only.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
