<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Threadpool</title><link>http://blogs.msdn.com/earhart/archive/2005/01/19/356109.aspx</link><description>So I've checked in the new Longhorn threadpool. (Unmanaged). If you use the threadpool, I think you'll enjoy it; there are a number of API features which should make it very easy to write correct code which uses it, particularly in the area of cleanup</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Threadpool</title><link>http://blogs.msdn.com/earhart/archive/2005/01/19/356109.aspx#359370</link><pubDate>Mon, 24 Jan 2005 12:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:359370</guid><dc:creator>Pavel Lebedinsky</dc:creator><description>Are the docs for the new threadpool publicly available?&lt;br&gt;&lt;br&gt;Good luck fixing the loader lock mess. The current design is (in my opinion) just asking for problems:&lt;br&gt;&lt;br&gt;1. Create a set of rules that forbid doing most non-trivial things in code that runs inside the loader lock.&lt;br&gt;&lt;br&gt;2. Expose a very easy way for people to write such code without even realizing it (static C++ constructors/destructors).&lt;br&gt;&lt;br&gt;3. Provide no mechanism to enforce the rules.&lt;br&gt;&lt;br&gt;4. Make sure that even when the rules are violated, things still seem to work correctly 99% of the time.&lt;br&gt;&lt;br&gt;5. Watch people fall into the same trap over and over again.&lt;br&gt;&lt;br&gt;Really, how are people supposed to find out that (for example) declaring a global CComBSTR object is a big no-no, when it works just fine in the vast majority of cases?</description></item><item><title>re: Threadpool</title><link>http://blogs.msdn.com/earhart/archive/2005/01/19/356109.aspx#372909</link><pubDate>Tue, 15 Feb 2005 14:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:372909</guid><dc:creator>Ramanujam</dc:creator><description>wow that's great..........to hear...&lt;br&gt;even we are working on kernel 32....in our IBM labs</description></item></channel></rss>