<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for Concurrency and Coordination Runtime (Going Deep on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/shows/going+deep/concurrency-and-coordination-runtime/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for Concurrency and Coordination Runtime (Going Deep on Channel 9)</title><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/</link></image><description>Concurrency and Coordination Runtime</description><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/</link><language>en-us</language><pubDate>Fri, 04 Sep 2009 00:55:12 GMT</pubDate><lastBuildDate>Fri, 04 Sep 2009 00:55:12 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3599.6114, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Concurrency and Coordination Runtime</title><description>&lt;p&gt;Hi everyone! You&amp;nbsp;are welcome to try my commit to the community and play with my framework samples at &lt;a href="http://plugins.codeplex.com/"&gt;http://plugins.codeplex.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sincerely yours,&lt;br /&gt;hack2root&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=489560</link><pubDate>Fri, 04 Sep 2009 00:55:12 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=489560</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/489560/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hi everyone! You&amp;nbsp;are welcome to try my commit to the community and play with my framework samples at http://plugins.codeplex.com
&amp;nbsp;
Sincerely yours,hack2root</evnet:previewtext><dc:creator>hack2roothotmai</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/489560/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>Great stuff! Very inspiring. In the video a small demo is shown of the 'concurrent msbuild' application the team build with the ccr. I would like to know if it's possible to recieve a copy of this application or if it might be released in some shape or form in the near future.&lt;br&gt;&lt;br&gt;Thanks in advance.&lt;br&gt;&lt;br&gt;Greets,&lt;br&gt;&lt;br&gt;Bas Bossink&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=357504</link><pubDate>Tue, 09 Oct 2007 07:08:19 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=357504</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/357504/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Great stuff! Very inspiring. In the video a small demo is shown of the 'concurrent msbuild' application the team build with the ccr. I would like to know if it's possible to recieve a copy of this application or if it might be released in some shape or form in the near future.Thanks in advance.Greets,Bas Bossink</evnet:previewtext><dc:creator>basbossink</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/357504/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;sumothecat wrote:&lt;/div&gt;&lt;div&gt;﻿Very enjoyable video! I have a simplistic question -- I thought a "runtime" was something that loaded code and managed its execution (e.g. CLR, Java runtime). This is a type library -- what makes it a "runtime"? Thanks!&lt;BR&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;BR&gt;&lt;BR&gt;The CCR, even if its a library, actually manages all execution, replacing the CLR thread pool or any manual threading code. Underneath ofcourse it uses the OS+CLR.&lt;BR&gt;&lt;BR&gt;The CCR manages messages on ports, task load balancing and execution, iterator task stepping, dispatcher lifetime etc. So its somewhere between a library and an execution environment. If you check out our robotics video, it might make it a little bit more clear why the CCR is a fundemental piece of our execution environment&lt;BR&gt;&lt;BR&gt;&lt;a href="http://channel9.msdn.com/Showpost.aspx?postid=206574&gt;http://channel9.msdn.com/Showpost.aspx?postid=206574&lt;/a&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=212889</link><pubDate>Thu, 20 Jul 2006 19:10:14 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=212889</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/212889/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>sumothecat wrote:﻿Very enjoyable video! I have a simplistic question -- I thought a "runtime" was something that loaded code and managed its execution (e.g. CLR, Java runtime). This is a type library -- what makes it a "runtime"? Thanks!The CCR, even if its a library, actually manages all execution,&amp;#8230;</evnet:previewtext><dc:creator>georgioc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/212889/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>Very enjoyable video! I have a simplistic question -- I thought a "runtime" was something that loaded code and managed its execution (e.g. CLR, Java runtime). This is a type library -- what makes it a "runtime"? Thanks!&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=212751</link><pubDate>Thu, 20 Jul 2006 13:16:59 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=212751</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/212751/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Very enjoyable video! I have a simplistic question -- I thought a "runtime" was something that loaded code and managed its execution (e.g. CLR, Java runtime). This is a type library -- what makes it a "runtime"? Thanks!</evnet:previewtext><dc:creator>sumothecat</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/212751/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>ok the bits are live. You can go to msdn.microsoft.com/robotics, and download the setup. its kind of big since it includes a few external components but once it installs, the CCR dll will be under \bin. Take a look at the service tutorials that come as part of the robotics SDK. The CCR is used as part of a service model that will give you cross machine distribution, in addition to concurrency and coordination within a machine.&lt;BR&gt;&lt;BR&gt;July 9th you will also get a MSDN article ont he CCR with sample code using it in various scenarios.</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=201769</link><pubDate>Tue, 20 Jun 2006 12:30:17 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=201769</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/201769/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>ok the bits are live. You can go to msdn.microsoft.com/robotics, and download the setup. its kind of big since it includes a few external components but once it installs, the CCR dll will be under \bin. Take a look at the service tutorials that come as part of the robotics SDK. The CCR is used as&amp;#8230;</evnet:previewtext><dc:creator>georgioc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/201769/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>Hi, the CCR is ready for its first public release. It will be available tuesday as part of a new product CTP we will announce then. It is an independent part, so people just interested in the CCR can use it by itself. I will post the link tuesday. Also expect another channel9 video showing the ccr in action</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=201211</link><pubDate>Mon, 19 Jun 2006 05:40:48 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=201211</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/201211/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hi, the CCR is ready for its first public release. It will be available tuesday as part of a new product CTP we will announce then. It is an independent part, so people just interested in the CCR can use it by itself. I will post the link tuesday. Also expect another channel9 video showing the ccr in action</evnet:previewtext><dc:creator>georgioc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/201211/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>I haven't heard anything about CCR in a while.&amp;nbsp; Is work still being done?&amp;nbsp; Is a June release still planned?&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=201012</link><pubDate>Sun, 18 Jun 2006 05:11:59 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=201012</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/201012/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I haven't heard anything about CCR in a while.&amp;nbsp; Is work still being done?&amp;nbsp; Is a June release still planned?</evnet:previewtext><dc:creator>SamuelLeon</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/201012/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>yes ports are definately thread safe!</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=174348</link><pubDate>Mon, 03 Apr 2006 18:08:04 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=174348</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/174348/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>yes ports are definately thread safe!</evnet:previewtext><dc:creator>georgioc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/174348/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>&lt;P&gt;Great! Those features really do simplify the implementation of our app. :)&lt;BR&gt;What I meant in the the first question was if the Ports&amp;nbsp;are threadsafe: for instance, can I post to them from different CCR Tasks, eventually running simultaneously, without having to worry about race conditions in the Port's object, right?&lt;BR&gt;&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=174216</link><pubDate>Mon, 03 Apr 2006 07:51:30 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=174216</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/174216/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Great! Those features really do simplify the implementation of our app. :)What I meant in the the first question was if the Ports&amp;nbsp;are threadsafe: for instance, can I post to them from different CCR Tasks, eventually running simultaneously, without having to worry about race conditions in the Port's object, right?</evnet:previewtext><dc:creator>nunoc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/174216/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>Yes, ports, dispatchers etc are regular C# objects so they can be used anywhere you use and store object references. &lt;BR&gt;&lt;BR&gt;Yes ports can be extended. You just implement the appropriate interfaces or easier, derive from Port&amp;lt;T&amp;gt;. We used to have LIFO, random insert implementations but again and again FIFO became the norm due to to starving issues related to LIFO and the distruptive attributes non-FIFO methods have on streaming or preserving sequence of events.&lt;BR&gt;&lt;BR&gt;messages stored on ports, are by reference. We have extended some of our Arbiters (for example we have a variant of&amp;nbsp;Receiver&amp;lt;T&amp;gt;) that deep clone objects before waking up the user task+ delegate associated with the port. The CCR allows you to do this type of extensies trivially and in a manner that the sender (the process that Posts) never has to know about. As i mentioned earlier we have a distributed system built on top of it</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=173565</link><pubDate>Fri, 31 Mar 2006 13:43:47 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=173565</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/173565/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Yes, ports, dispatchers etc are regular C# objects so they can be used anywhere you use and store object references. Yes ports can be extended. You just implement the appropriate interfaces or easier, derive from Port&amp;lt;T&amp;gt;. We used to have LIFO, random insert implementations but again and again&amp;#8230;</evnet:previewtext><dc:creator>georgioc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/173565/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>&lt;P&gt;Hi again!&lt;/P&gt;
&lt;P&gt;Can&amp;nbsp;the Ports, Queues and Dispatchers be used as "globals" (class variables, for instance)&amp;nbsp;from within the tasks?&lt;/P&gt;
&lt;P&gt;Is it possible to extend a Port with a different strategy (like a&amp;nbsp;LIFO or a priority queue&amp;nbsp;instead of a FIFO)?&lt;/P&gt;
&lt;P&gt;How are the objects passed by the ports to the tasks? By reference or copied?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=173534</link><pubDate>Fri, 31 Mar 2006 10:31:43 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=173534</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/173534/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hi again!
Can&amp;nbsp;the Ports, Queues and Dispatchers be used as "globals" (class variables, for instance)&amp;nbsp;from within the tasks?
Is it possible to extend a Port with a different strategy (like a&amp;nbsp;LIFO or a priority queue&amp;nbsp;instead of a FIFO)?
How are the objects passed by the ports to&amp;#8230;</evnet:previewtext><dc:creator>nunoc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/173534/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>Thanks! And I'm also&amp;nbsp;looking forward to see the distribution features you mentioned!</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=172755</link><pubDate>Wed, 29 Mar 2006 05:54:37 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=172755</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/172755/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Thanks! And I'm also&amp;nbsp;looking forward to see the distribution features you mentioned!</evnet:previewtext><dc:creator>nunoc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/172755/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>what you are doing is perfectly valid. In the recent refactoring we did, we removed operator overloads. All runtime features are still there however, including dynamically creating choice, join, etc.&lt;BR&gt;&lt;BR&gt;The wiki has the latest API.&lt;BR&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=172530</link><pubDate>Tue, 28 Mar 2006 18:14:55 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=172530</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/172530/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>what you are doing is perfectly valid. In the recent refactoring we did, we removed operator overloads. All runtime features are still there however, including dynamically creating choice, join, etc.The wiki has the latest API.</evnet:previewtext><dc:creator>georgioc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/172530/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>current release is planned for this june. Just 2 months away</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=172525</link><pubDate>Tue, 28 Mar 2006 18:11:53 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=172525</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/172525/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>current release is planned for this june. Just 2 months away</evnet:previewtext><dc:creator>georgioc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/172525/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>Is there a place we can now get the CCR?&amp;nbsp; I'm really wanting to get my hands on this for my current project.</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=172432</link><pubDate>Tue, 28 Mar 2006 15:23:54 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=172432</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/172432/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Is there a place we can now get the CCR?&amp;nbsp; I'm really wanting to get my hands on this for my current project.</evnet:previewtext><dc:creator>valdair</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/172432/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>&lt;P&gt;Hi! I have been playing with the CCR and I think it takes away some of the pain of working with concurrency, which is very good!&lt;BR&gt;However I'm a little confused of how should one program with the CCR :s&lt;/P&gt;
&lt;P&gt;For instance, is it correct to send ports to&amp;nbsp;ITasks and post from within them (like in the following example)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;static void HandlerPorts(Port&amp;lt;int&amp;gt; pInts)&lt;BR&gt;&amp;nbsp;&amp;nbsp;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;pInts.Post(42);&lt;BR&gt;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;static void Main(string[] args)&lt;BR&gt;&amp;nbsp;&amp;nbsp;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;using (Dispatcher dispatcher = new Dispatcher(0, "CcrDispatcher"))&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DispatcherQueue queue = dispatcher.AddQueue("MainQueue");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Port&amp;lt;int&amp;gt; pInts = new Port&amp;lt;int&amp;gt;();&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Port&amp;lt;Port&amp;lt;int&amp;gt;&amp;gt; pPorts = new Port&amp;lt;Port&amp;lt;int&amp;gt;&amp;gt;();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Arbiter.Activate(queue, Arbiter.Receive&amp;lt;int&amp;gt;(true, pInts, &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;delegate(int value){&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Console.Out.WriteLine(value);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for(int i=0; i&amp;lt;2; i++){&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Arbiter.Activate(queue, Arbiter.Receive&amp;lt;Port&amp;lt;int&amp;gt;&amp;gt;(false, pPorts, HandlerPorts));&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pPorts.Post(pInts);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.Threading.Thread.Sleep(1000);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&lt;BR&gt;This seems to work as I want, printing twice the value 42. But am I messing with the CLR in any way I shouldn't?&lt;BR&gt;&lt;BR&gt;Also, is the API defined anywhere? I've heard that there are some quite neat ways of using the CLR (operator overloading, like the | for choice).&lt;BR&gt;&lt;BR&gt;Thanks and keep up the good work! :)&lt;BR&gt;Nuno&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=172351</link><pubDate>Tue, 28 Mar 2006 08:57:10 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=172351</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/172351/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hi! I have been playing with the CCR and I think it takes away some of the pain of working with concurrency, which is very good!However I'm a little confused of how should one program with the CCR :s
For instance, is it correct to send ports to&amp;nbsp;ITasks and post from within them (like in the&amp;#8230;</evnet:previewtext><dc:creator>nunoc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/172351/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>We actualy have built distributed system infrastructure on top of the CCR. The CCR itself is not ofcourse about distribution (you need other machinery for that, which sounds you have built already)&amp;nbsp;but it helps you with coordinating I/O, so it was a good fit for our distributed work. With some simple adaptors over .NET system apis (like web requests, sockets, streams) we were able to have one consistent way to deal with i/o and load balance well. &lt;BR&gt;&lt;BR&gt;So i see no reason why you cant use this in your system.&lt;BR&gt;&lt;BR&gt;I really want to get this out there, and have people play with it. As i said, in a couple of months you can play with the CCR, plus a bunch more that has been built on top of it ;) Its currently in good shape and as i mentioned earlier Jeff Richter is working with us to simplify the object model and then write up an article on it.&lt;BR&gt;&lt;BR&gt;g</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=163563</link><pubDate>Fri, 03 Mar 2006 05:50:00 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=163563</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/163563/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>We actualy have built distributed system infrastructure on top of the CCR. The CCR itself is not ofcourse about distribution (you need other machinery for that, which sounds you have built already)&amp;nbsp;but it helps you with coordinating I/O, so it was a good fit for our distributed work. With some&amp;#8230;</evnet:previewtext><dc:creator>georgioc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/163563/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>&lt;P&gt;I have to admit this looks amazing and is exactly what we need on my current project.&amp;nbsp; I currently have a distributed server system&amp;nbsp;that accesses data locally and on other machines, but I'm having difficulty adding parallelism to the system.&amp;nbsp; I believe this would allow me to easily add this if I can massage the dispatcher to not only load balance across processors but across machines. &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P&gt;Georgio do you see this as being already built in or at least a workable implementation on my part?&amp;nbsp; I already have a running system (in .net 2.0) capable of handling thousands of requests a second, and I believe I can easily shoehorn this into it. &amp;nbsp;We are still months away from going live so hopefully the timing will be workable on my part to use this.&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=163400</link><pubDate>Thu, 02 Mar 2006 23:08:45 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=163400</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/163400/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I have to admit this looks amazing and is exactly what we need on my current project.&amp;nbsp; I currently have a distributed server system&amp;nbsp;that accesses data locally and on other machines, but I'm having difficulty adding parallelism to the system.&amp;nbsp; I believe this would allow me to easily&amp;#8230;</evnet:previewtext><dc:creator>valdair</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/163400/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>This was very interesting.  Can't wait to use this stuff!</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=161890</link><pubDate>Sun, 26 Feb 2006 18:54:16 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=161890</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/161890/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>This was very interesting.  Can't wait to use this stuff!</evnet:previewtext><dc:creator>Quaro</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/161890/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>Someone at work made me aware of that lock as well, 3 or 4 months ago.&amp;nbsp;The reader/writer lock jeff wrote is a subcase of the interleave primitive we have. We have talked to jeff about it and Jeff was thinking down the same path that led to the CCR. The CCR however normalizes all operations to be coordination of messages over ports, so reader/writer is just one of the coordination primitives you can implement cleanly. Many other things, like its dispatching model, port behavior etc are very different. Its more of a complete runtime than a single primitive. That can be both good and bad.&lt;BR&gt;&lt;BR&gt;Anyway, stay tuned, Jeff is working with us, giving good feedback, and in the future help&amp;nbsp;with articles on the CCR.</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=160082</link><pubDate>Sun, 19 Feb 2006 04:37:43 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=160082</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/160082/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Someone at work made me aware of that lock as well, 3 or 4 months ago.&amp;nbsp;The reader/writer lock jeff wrote is a subcase of the interleave primitive we have. We have talked to jeff about it and Jeff was thinking down the same path that led to the CCR. The CCR however normalizes all operations to&amp;#8230;</evnet:previewtext><dc:creator>georgioc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/160082/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>Hey Charles.&amp;nbsp; Think you could talk to Andrew Birrel (of MSR) who wrote "An Introdution to Programming with C# Threads" about concurrency sometime?&amp;nbsp; Now that I think about it, I wonder how similar in concept CCR is to the SOA RW lock Jeffrey Richter TIA</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=159913</link><pubDate>Sat, 18 Feb 2006 04:15:14 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=159913</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/159913/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hey Charles.&amp;nbsp; Think you could talk to Andrew Birrel (of MSR) who wrote "An Introdution to Programming with C# Threads" about concurrency sometime?&amp;nbsp; Now that I think about it, I wonder how similar in concept CCR is to the SOA RW lock Jeffrey Richter TIA</evnet:previewtext><dc:creator>William Stacey</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/159913/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>"The network is the computer"&lt;br&gt;
&lt;br&gt;
There are hacker forces trying to break into your machine right at this
very moment in order to temporarily lease your CPU and other resources
on the black market.&amp;nbsp; It sounds like science fiction but it isn't
-- the black market is merely ahead of legitimate business models,
something akin to big pharma selling pot, which they already do.&lt;br&gt;
&lt;br&gt;
Eventually this will be the way we "buy" computers.&amp;nbsp; We'll rent
computer time on machines that we never see.&amp;nbsp; I think that was the
idea behind the Chi Corporation in the late 60s...&lt;br&gt;
&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=159700</link><pubDate>Fri, 17 Feb 2006 06:37:13 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=159700</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/159700/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>"The network is the computer"

There are hacker forces trying to break into your machine right at this
very moment in order to temporarily lease your CPU and other resources
on the black market.&amp;nbsp; It sounds like science fiction but it isn't
-- the black market is merely ahead of legitimate&amp;#8230;</evnet:previewtext><dc:creator>terris</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/159700/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>&lt;EM&gt;One issue I'm working on right now is, there are various bits of user interface information that get updated from multiple threads.&amp;nbsp; I'm using Control.BeginInvoke etc. to manage the user interface updates when some of this data changes (for instance, wireless signal strength, online/offline status, data synchronization status information, etc.).&amp;nbsp; I'm working on solving some cases when it seems there is contention to update the UI on the UI thread and it causes "pauses" that are noticeable when mousing over toolbar icons that hot track for instance (I have a XAML toolbar where the icons "zoom" 50% when moused over).&lt;BR&gt;&lt;BR&gt;&lt;/EM&gt;I too am looking forward.&amp;nbsp; I might approach it this way:&lt;BR&gt;Instead of updating UI all over the place, I would have a focus point.&lt;BR&gt;I clean pattern I have been using is a Blocking queue.&amp;nbsp; So each thread that needs to update the UI will jusend a message to the queue.&amp;nbsp; Your UI thread can't be the consumer as you UI will block, so have one UI helper thread that is the single consumer of the queue. It just pops the queue and calls BeginInvoke to update UI controls depending on the Message type.&amp;nbsp; So you can have any number of producer threads all pushing the single queue - all they need is a ref to the queue.&amp;nbsp; It is also a single location to signal all producers to shutdown (i.e. stop the queue).&amp;nbsp; You also have a single place to "throttle" the speed of UI updates with Thread.Sleep().&amp;nbsp; You can check my BlockingQueue&amp;lt;T&amp;gt; and samples in the Sandbox.&amp;nbsp; Cheers!&lt;BR&gt;--William</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=158257</link><pubDate>Sat, 11 Feb 2006 02:45:16 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=158257</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/158257/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>One issue I'm working on right now is, there are various bits of user interface information that get updated from multiple threads.&amp;nbsp; I'm using Control.BeginInvoke etc. to manage the user interface updates when some of this data changes (for instance, wireless signal strength, online/offline&amp;#8230;</evnet:previewtext><dc:creator>William Stacey</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/158257/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>yes UI responsiveness it can definatelly help you with, especially coordination among multiple things , like IO, while keeping the UI going.&lt;BR&gt;&lt;BR&gt;The Win32 and Winforms UI model is a bit hard to get right however because of its built in SingleThreadApartment design and various re-entrancy issues. Right now i would recommend you look at the latest PDC talks on concurrency, especially the talk from Jan Gray and Joe Duffy on CLR concurrency best practices. Also look into the background worker CLR 2.0 feature that helps with UI concurrency.</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=158167</link><pubDate>Fri, 10 Feb 2006 18:27:52 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=158167</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/158167/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>yes UI responsiveness it can definatelly help you with, especially coordination among multiple things , like IO, while keeping the UI going.The Win32 and Winforms UI model is a bit hard to get right however because of its built in SingleThreadApartment design and various re-entrancy issues. Right&amp;#8230;</evnet:previewtext><dc:creator>georgioc</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/158167/Trackback.aspx</trackback:ping></item><item><title>Re: Concurrency and Coordination Runtime</title><description>I find CCR extremely interesting and can't wait to get my hands on it.&lt;br&gt;&lt;br&gt;Is there anything similar out there that we might also want to take a look at, that is downloadable now?&amp;nbsp; :)&amp;nbsp; &lt;br&gt;
&lt;br&gt;The scenario I have right now is, I am building a product that uses a lot of multithreading.&amp;nbsp; It is a smart client application that is using the Smart Client Offline Application Block along with a number of other threads handling various tasks like incremental synchronization of data from the offline block, user interface updating, etc.&amp;nbsp; I also have a number of singleton classes that act as gateways into different core functionality.&amp;nbsp; I'm using the lock statement in C# in my singleton classes to control access to public property setters from multiple threads.&amp;nbsp; I'm looking for ways to improve performance in some areas.&lt;br&gt;&lt;br&gt;One issue I'm working on right now is, there are various bits of user interface information that get updated from multiple threads.&amp;nbsp; I'm using Control.BeginInvoke etc. to manage the user interface updates when some of this data changes (for instance, wireless signal strength, online/offline status, data synchronization status information, etc.).&amp;nbsp; I'm working on solving some cases when it seems there is contention to update the UI on the UI thread and it causes "pauses" that are noticeable when mousing over toolbar icons that hot track for instance (I have a XAML toolbar where the icons "zoom" 50% when moused over).&lt;br&gt;&lt;br&gt;Are these types of scenarios things that the CCR can help me with?&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=158001</link><pubDate>Fri, 10 Feb 2006 06:09:01 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/Going+Deep/Concurrency-and-Coordination-Runtime/?CommentID=158001</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/158001/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I find CCR extremely interesting and can't wait to get my hands on it.Is there anything similar out there that we might also want to take a look at, that is downloadable now?&amp;nbsp; :)&amp;nbsp; 
The scenario I have right now is, I am building a product that uses a lot of multithreading.&amp;nbsp; It is a&amp;#8230;</evnet:previewtext><dc:creator>z33driver</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/158001/Trackback.aspx</trackback:ping></item></channel></rss>