<?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: Documenting thread safety</title>
	<atom:link href="http://tech.puredanger.com/index.php/2008/08/11/documenting-thread-safety/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.puredanger.com/2008/08/11/documenting-thread-safety/</link>
	<description>Alex Miller&#039;s technical blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:39:50 -0800</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: Capture thread-safety intent via annotations &#124; ModeShape</title>
		<link>http://tech.puredanger.com/2008/08/11/documenting-thread-safety/comment-page-1/#comment-184506</link>
		<dc:creator>Capture thread-safety intent via annotations &#124; ModeShape</dc:creator>
		<pubDate>Tue, 12 Jan 2010 18:00:08 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/08/11/documenting-thread-safety/#comment-184506</guid>
		<description>[...] 11, 2008 10:25 am Alex points out the difficulties of knowing whether a class can be used within a concurrent manner, and [...]</description>
		<content:encoded><![CDATA[<p>[...] 11, 2008 10:25 am Alex points out the difficulties of knowing whether a class can be used within a concurrent manner, and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamlet D'Arcy</title>
		<link>http://tech.puredanger.com/2008/08/11/documenting-thread-safety/comment-page-1/#comment-73195</link>
		<dc:creator>Hamlet D'Arcy</dc:creator>
		<pubDate>Mon, 11 Aug 2008 17:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/08/11/documenting-thread-safety/#comment-73195</guid>
		<description>Ha, yes that might be true. This is why we (Pearson) have had several book clubs focused on Effective Java over the years. The club should just rotate between JCIP and Effective Java every year :)</description>
		<content:encoded><![CDATA[<p>Ha, yes that might be true. This is why we (Pearson) have had several book clubs focused on Effective Java over the years. The club should just rotate between JCIP and Effective Java every year :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://tech.puredanger.com/2008/08/11/documenting-thread-safety/comment-page-1/#comment-73189</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 11 Aug 2008 17:15:40 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/08/11/documenting-thread-safety/#comment-73189</guid>
		<description>Many thanks for the reference, Hamlet.  I did this off the top of my head, so I&#039;m glad to be in the ballpark of someone far smarter than me. :)  I see that in Item 70.  Actually, there is a 5th class &quot;Thread-hostile&quot; mentioned on the next page that I didn&#039;t consider.  Probably good to document that too.

Miller&#039;s Hypothesis:  &quot;Any interesting Java question has already been thoroughly discussed and decided in either &lt;b&gt;Java Concurrency in Practice&lt;/b&gt; or &lt;b&gt;Effective Java&lt;/b&gt;.&quot;  Discuss.</description>
		<content:encoded><![CDATA[<p>Many thanks for the reference, Hamlet.  I did this off the top of my head, so I&#8217;m glad to be in the ballpark of someone far smarter than me. :)  I see that in Item 70.  Actually, there is a 5th class &#8220;Thread-hostile&#8221; mentioned on the next page that I didn&#8217;t consider.  Probably good to document that too.</p>
<p>Miller&#8217;s Hypothesis:  &#8220;Any interesting Java question has already been thoroughly discussed and decided in either <b>Java Concurrency in Practice</b> or <b>Effective Java</b>.&#8221;  Discuss.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randall</title>
		<link>http://tech.puredanger.com/2008/08/11/documenting-thread-safety/comment-page-1/#comment-73186</link>
		<dc:creator>Randall</dc:creator>
		<pubDate>Mon, 11 Aug 2008 17:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/08/11/documenting-thread-safety/#comment-73186</guid>
		<description>I &lt;a href=&quot;http://jbossdna.blogspot.com/2008/08/capture-thread-safety-intent-via.html&quot; rel=&quot;nofollow&quot;&gt;agree wholeheartedly&lt;/a&gt;.  For me, putting in those JCIP annotations while I code also helps drive home the intended behavior and keeps me thinking (and rethinking) about how to code correctly so that it&#039;s thread-safe.</description>
		<content:encoded><![CDATA[<p>I <a href="http://jbossdna.blogspot.com/2008/08/capture-thread-safety-intent-via.html" rel="nofollow">agree wholeheartedly</a>.  For me, putting in those JCIP annotations while I code also helps drive home the intended behavior and keeps me thinking (and rethinking) about how to code correctly so that it&#8217;s thread-safe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamlet D'Arcy</title>
		<link>http://tech.puredanger.com/2008/08/11/documenting-thread-safety/comment-page-1/#comment-73185</link>
		<dc:creator>Hamlet D'Arcy</dc:creator>
		<pubDate>Mon, 11 Aug 2008 16:57:55 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/08/11/documenting-thread-safety/#comment-73185</guid>
		<description>The 2nd edition of Effective Java contains some really nice advice on how to document thread safety, which lines up nicely with your 4 categories here. Bloch names the categories above as: 1) Immutable, 2) Not thread-safe, 3) unconditionally thread-safe, and 4) conditionally thread-safe. It&#039;s nice to have a common set of names for these things.</description>
		<content:encoded><![CDATA[<p>The 2nd edition of Effective Java contains some really nice advice on how to document thread safety, which lines up nicely with your 4 categories here. Bloch names the categories above as: 1) Immutable, 2) Not thread-safe, 3) unconditionally thread-safe, and 4) conditionally thread-safe. It&#8217;s nice to have a common set of names for these things.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

