<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Florent Clairambault &#187; multithreading</title>
	<atom:link href="http://florent.clairambault.fr/tag/multithreading/feed" rel="self" type="application/rss+xml" />
	<link>http://florent.clairambault.fr</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 19:56:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
		<item>
		<title>Threads and Sharepoint</title>
		<link>http://florent.clairambault.fr/threads-and-sharepoint?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=threads-and-sharepoint</link>
		<comments>http://florent.clairambault.fr/threads-and-sharepoint#comments</comments>
		<pubDate>Sat, 20 Feb 2010 08:00:31 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[multithreading]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=2321</guid>
		<description><![CDATA[When you are using threads on sharepoint, you should take care of some little things : The method used to launch the thread must have the &#8220;[STAThread]&#8221; attribute, it avoids some huge memory leaks. If you need to use an SPSite from the calling site, you should copy its URL and UserToken to build a [...]]]></description>
			<content:encoded><![CDATA[<p>When you are using threads on sharepoint, you should take care of some little things :</p>
<ul>
<li>The method used to launch the thread must have the &#8220;[STAThread]&#8221; attribute, it avoids some huge memory leaks.</li>
<li>If you need to use an SPSite from the calling site, you should copy its URL and UserToken to build a new SPSite in the new thread. If you&#8217;re not using that &#8220;design pattern&#8221;, things will get really wrong.</li>
<li>And of course you should dispose any sharepoint SPSite (SPWebs come from SPSite) allocated within the thread.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/threads-and-sharepoint/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/15 queries in 0.006 seconds using disk: basic
Object Caching 324/336 objects using disk: basic

Served from: florent.clairambault.fr @ 2012-02-08 12:31:59 -->
