<?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>Cooperative Fiber Mode Sample - Day 9</title><link>http://blogs.msdn.com/dinoviehland/archive/2004/09/16/230656.aspx</link><description>The managed Fiber class exists in its own directory in the SDK sample appropriately called Fiber. The Fiber class is designed to be vaguely similar to the managed Thread class. For example, like the Thread has ThreadState the fiber has FiberStates. The</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Cooperative Fiber Mode Sample - Day 9</title><link>http://blogs.msdn.com/dinoviehland/archive/2004/09/16/230656.aspx#231995</link><pubDate>Mon, 20 Sep 2004 21:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:231995</guid><dc:creator>SK</dc:creator><description>Excellent articles. I enjoyed your style as well.&lt;br&gt;&lt;br&gt;If possible, could you also provide some information on if/how SQL Server 2005 has implemented managed fiber API?&lt;br&gt;&lt;br&gt;SK</description></item><item><title>re: Cooperative Fiber Mode Sample - Day 9</title><link>http://blogs.msdn.com/dinoviehland/archive/2004/09/16/230656.aspx#232202</link><pubDate>Tue, 21 Sep 2004 03:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:232202</guid><dc:creator>Dino Viehland</dc:creator><description>SQL server has not implemented any such managed fiber API. In fact SQL tries to discourage access to users from performing any synchronization what so ever (and switching fibers will almost always involve some sort of synchronization!)   A lot of SQL server installations don't run in fiber mode so even if it did expose such an API, it wouldn't always be in a mode where it could work.&lt;br&gt;&lt;br&gt;Instead what SQL does is hosts the runtime and at points in the hosting APIs where synchronization occurs (blocking for critical sections, events, joining on threads, etc...) they re-schedule new fibers.  This offers a cooperative mode of scheduling that is transparent to the user.  SQL also gets notifications of when a thread is leaving the CLR's control (where cooperative scheduling won't be possible - for example during a P/Invoke) and when control returns back to the CLR.  They can use those notifications to allow another thread to take over the execution of managed code at that point.  And then they can stop running managed code on one of those threads when they get the notification that the CLR again has control.&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>Misc Musings</title><link>http://blogs.msdn.com/dinoviehland/archive/2004/09/16/230656.aspx#4577680</link><pubDate>Sun, 26 Aug 2007 21:02:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4577680</guid><dc:creator>Niels SQL Server Blog</dc:creator><description>&lt;p&gt;So I'm back again (at least for a little while). It seems that my blogging goes in cycles - a couple&lt;/p&gt;
</description></item><item><title> Dino s Blog Cooperative Fiber Mode Sample Day 9 | storage bench</title><link>http://blogs.msdn.com/dinoviehland/archive/2004/09/16/230656.aspx#9782198</link><pubDate>Fri, 19 Jun 2009 10:45:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9782198</guid><dc:creator> Dino s Blog Cooperative Fiber Mode Sample Day 9 | storage bench</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://thestoragebench.info/story.php?id=5563"&gt;http://thestoragebench.info/story.php?id=5563&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>