<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>parallelpatterns Issue Tracker Rss Feed</title><link>http://parallelpatterns.codeplex.com/WorkItem/List.aspx</link><description>parallelpatterns Issue Tracker Rss Description</description><item><title>Closed Issue: Pipeline diagram error [23496]</title><link>http://parallelpatterns.codeplex.com/workitem/23496</link><description>On the Pipelines page, the figure 1&amp;#39;s arrow between Read Strings and Buffer 1 incorrectly goes from the buffer to the processing element. Instead the arrow must go from the processing element to the buffer, as indicated by the text below the diagram&amp;#58;&lt;br /&gt;&lt;br /&gt;   For example, the Read Strings task reads from a source and writes to buffer 1.&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;ff963548.aspx&lt;br /&gt;Comments: &lt;p&gt;This is now resolved on the MSDN site. I got the image updated.&lt;/p&gt;&lt;p&gt;David. My comments were intended to convey updates as I worked on the issue, hence &amp;#34;Sent&amp;#34; not &amp;#34;Send&amp;#34;. Sorry for any confusion.&lt;/p&gt;&lt;p&gt;Thanks for bringing this to our attention.&lt;/p&gt;&lt;p&gt;Ade&lt;br /&gt;&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Mon, 22 Oct 2012 20:34:08 GMT</pubDate><guid isPermaLink="false">Closed Issue: Pipeline diagram error [23496] 20121022083408P</guid></item><item><title>Commented Issue: Pipeline diagram error [23496]</title><link>http://parallelpatterns.codeplex.com/workitem/23496</link><description>On the Pipelines page, the figure 1&amp;#39;s arrow between Read Strings and Buffer 1 incorrectly goes from the buffer to the processing element. Instead the arrow must go from the processing element to the buffer, as indicated by the text below the diagram&amp;#58;&lt;br /&gt;&lt;br /&gt;   For example, the Read Strings task reads from a source and writes to buffer 1.&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;ff963548.aspx&lt;br /&gt;Comments: ** Comment from web user: daviburg ** &lt;p&gt;How? The MSDN page is redirecting here to CodePlex for community feedback.&lt;/p&gt;</description><author>daviburg</author><pubDate>Fri, 19 Oct 2012 17:44:52 GMT</pubDate><guid isPermaLink="false">Commented Issue: Pipeline diagram error [23496] 20121019054452P</guid></item><item><title>Commented Issue: Pipeline diagram error [23496]</title><link>http://parallelpatterns.codeplex.com/workitem/23496</link><description>On the Pipelines page, the figure 1&amp;#39;s arrow between Read Strings and Buffer 1 incorrectly goes from the buffer to the processing element. Instead the arrow must go from the processing element to the buffer, as indicated by the text below the diagram&amp;#58;&lt;br /&gt;&lt;br /&gt;   For example, the Read Strings task reads from a source and writes to buffer 1.&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;ff963548.aspx&lt;br /&gt;Comments: ** Comment from web user: AdeMiller ** &lt;p&gt;Sent correction to the MSDN team.&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Fri, 19 Oct 2012 04:41:21 GMT</pubDate><guid isPermaLink="false">Commented Issue: Pipeline diagram error [23496] 20121019044121A</guid></item><item><title>Closed Issue: Trend.Predict(double ordinate) [19190]</title><link>http://parallelpatterns.codeplex.com/workitem/19190</link><description>&amp;#60;p&amp;#62;The argument of Microsoft.Practices.ParallelGuideSamples.Utilities.Trend.Predict&amp;#40;double ordinate&amp;#41; should be called abscissa according to the mathematical definition.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: &lt;p&gt;Resolved in changeset 69939.&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Fri, 19 Oct 2012 04:36:08 GMT</pubDate><guid isPermaLink="false">Closed Issue: Trend.Predict(double ordinate) [19190] 20121019043608A</guid></item><item><title>Commented Issue: Trend.Predict(double ordinate) [19190]</title><link>http://parallelpatterns.codeplex.com/workitem/19190</link><description>&amp;#60;p&amp;#62;The argument of Microsoft.Practices.ParallelGuideSamples.Utilities.Trend.Predict&amp;#40;double ordinate&amp;#41; should be called abscissa according to the mathematical definition.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: AdeMiller ** &lt;p&gt;This doesn't appear in the book text so it can be updated in the code.&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Fri, 19 Oct 2012 04:05:27 GMT</pubDate><guid isPermaLink="false">Commented Issue: Trend.Predict(double ordinate) [19190] 20121019040527A</guid></item><item><title>Closed Issue: Book Errata [18665]</title><link>http://parallelpatterns.codeplex.com/workitem/18665</link><description>&amp;#60;p&amp;#62;This issue is designed for tracking errata in the book text. Things like minor typos.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#42;Page 65&amp;#42;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;On page 65 of the Preliminary Draft there is a typo&amp;#58; &amp;#38;quot&amp;#59;form&amp;#38;quot&amp;#59; should be &amp;#38;quot&amp;#59;from.&amp;#38;quot&amp;#59;  This is found in the following text&amp;#58;  &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;quot&amp;#59;Bypassing the Thread Pool If you don&amp;#8217;t want a task to use a worker thread &amp;#42;&amp;#42;form&amp;#42;&amp;#42; the thread pool, you can create a new thread for its dedicated use.&amp;#38;quot&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: &lt;p&gt;All the comments here have been migrated to the O&amp;#39;Reilly errata page.&lt;/p&gt;&lt;p&gt;http&amp;#58;&amp;#47;&amp;#47;www.oreillynet.com&amp;#47;oreilly&amp;#47;authors&amp;#47;errata.csp&amp;#63;b&amp;#61;0790145310262&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Fri, 19 Oct 2012 03:09:11 GMT</pubDate><guid isPermaLink="false">Closed Issue: Book Errata [18665] 20121019030911A</guid></item><item><title>Commented Issue: Pipeline diagram error [23496]</title><link>http://parallelpatterns.codeplex.com/workitem/23496</link><description>On the Pipelines page, the figure 1&amp;#39;s arrow between Read Strings and Buffer 1 incorrectly goes from the buffer to the processing element. Instead the arrow must go from the processing element to the buffer, as indicated by the text below the diagram&amp;#58;&lt;br /&gt;&lt;br /&gt;   For example, the Read Strings task reads from a source and writes to buffer 1.&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;ff963548.aspx&lt;br /&gt;Comments: ** Comment from web user: AdeMiller ** &lt;p&gt;This is only an issue in the MSDN content. They have an incorrect version of the image.&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Fri, 19 Oct 2012 02:42:13 GMT</pubDate><guid isPermaLink="false">Commented Issue: Pipeline diagram error [23496] 20121019024213A</guid></item><item><title>Created Issue: Pipeline diagram error [23496]</title><link>http://parallelpatterns.codeplex.com/workitem/23496</link><description>On the &amp;#38;quot&amp;#59;Pipelines&amp;#38;quot&amp;#59; the figure 1 arrow between &amp;#38;quot&amp;#59;Read Strings&amp;#38;quot&amp;#59; and &amp;#38;quot&amp;#59;Buffer 1&amp;#38;quot&amp;#59; incorrectly goes from the buffer to the processing element. Instead the arrow must go from the processing element to the buffer, as indicated by the text below the diagram&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#38;quot&amp;#59;For example, the &amp;#38;quot&amp;#59;Read Strings&amp;#38;quot&amp;#59; task reads from a source and writes to buffer 1.&amp;#38;quot&amp;#59;&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;ff963548.aspx&lt;br /&gt;</description><author>daviburg</author><pubDate>Mon, 15 Oct 2012 22:43:21 GMT</pubDate><guid isPermaLink="false">Created Issue: Pipeline diagram error [23496] 20121015104321P</guid></item><item><title>Commented Issue: Book Errata [18665]</title><link>http://parallelpatterns.codeplex.com/workitem/18665</link><description>This issue is designed for tracking errata in the book text. Things like minor typos.&lt;br /&gt;&lt;br /&gt;&amp;#42;Page 65&amp;#42;&lt;br /&gt;&lt;br /&gt;On page 65 of the Preliminary Draft there is a typo&amp;#58; &amp;#34;form&amp;#34; should be &amp;#34;from.&amp;#34;  This is found in the following text&amp;#58;  &lt;br /&gt;&lt;br /&gt;&amp;#34;Bypassing the Thread Pool If you don&amp;#8217;t want a task to use a worker thread &amp;#42;&amp;#42;form&amp;#42;&amp;#42; the thread pool, you can create a new thread for its dedicated use.&amp;#34;&lt;br /&gt;Comments: ** Comment from web user: jsh003guardz63 ** &lt;p&gt;The explanation of performance characteristics of pipelines on p121 needs clarification and possibly correction.&lt;/p&gt;&lt;p&gt;In particular, &amp;#8220;If there are enough available cores and if all stages of a pipeline take an equal amount of time, the execution time for the pipeline as a whole is the same as the time for just one stage&amp;#8221;, would appear to be incorrect.&lt;/p&gt;&lt;p&gt;If&amp;#58;&lt;br /&gt;    S &amp;#61; the number of stages in figure 4 &amp;#40;&amp;#61; 4&amp;#41;&lt;br /&gt;    N &amp;#61; the number of images in figure 4 &amp;#40;&amp;#61; 6&amp;#41;&lt;br /&gt;    T &amp;#61; the duration to process one stage for one image &amp;#40;&amp;#61; t1 - t0 &amp;#61; t2 &amp;#8211; t1&amp;#41;&lt;br /&gt;Then&amp;#58;&lt;br /&gt;    The elapsed time for a completely parallel and completely efficient pipeline is &amp;#40;S&amp;#43;N-1&amp;#41; &amp;#42; T.&lt;br /&gt;    The elapsed time taken for one stage &amp;#61; N &amp;#42; T.&lt;br /&gt;But&amp;#58;&lt;br /&gt;    &amp;#40;S&amp;#43;N-1&amp;#41; x T is only equal to N &amp;#42; T when S &amp;#61; 1.&lt;/p&gt;&lt;p&gt;If the sidebar on p121 is referring to the case where S &amp;#61; 1, the phrasing of that sidebar needs changing, as it currently implies that &amp;#40;S&amp;#43;N-1&amp;#41; x T &amp;#61; N &amp;#42; T for any S. If the sidebar isn&amp;#39;t referring to the case where S &amp;#61; 1, it needs re-wording as its intended meaning is unclear and&amp;#47;or incorrect. Possibly, it&amp;#39;s trying to say that each core has an equal execution time, but I don&amp;#39;t think that&amp;#39;s the intended meaning...&lt;br /&gt;&lt;/p&gt;</description><author>jsh003guardz63</author><pubDate>Tue, 19 Jul 2011 15:15:41 GMT</pubDate><guid isPermaLink="false">Commented Issue: Book Errata [18665] 20110719031541P</guid></item><item><title>Commented Issue: Book Errata [18665]</title><link>http://parallelpatterns.codeplex.com/workitem/18665</link><description>This issue is designed for tracking errata in the book text. Things like minor typos.&lt;br /&gt;&lt;br /&gt;&amp;#42;Page 65&amp;#42;&lt;br /&gt;&lt;br /&gt;On page 65 of the Preliminary Draft there is a typo&amp;#58; &amp;#34;form&amp;#34; should be &amp;#34;from.&amp;#34;  This is found in the following text&amp;#58;  &lt;br /&gt;&lt;br /&gt;&amp;#34;Bypassing the Thread Pool If you don&amp;#8217;t want a task to use a worker thread &amp;#42;&amp;#42;form&amp;#42;&amp;#42; the thread pool, you can create a new thread for its dedicated use.&amp;#34;&lt;br /&gt;Comments: ** Comment from web user: jsh003guardz63 ** &lt;p&gt;Minor typo - page 99. &amp;#34;that implied data flow&amp;#34; should be &amp;#34;than implied data flow&amp;#34;.&lt;br /&gt;&lt;/p&gt;</description><author>jsh003guardz63</author><pubDate>Tue, 19 Jul 2011 14:31:45 GMT</pubDate><guid isPermaLink="false">Commented Issue: Book Errata [18665] 20110719023145P</guid></item><item><title>Commented Issue: Book Errata [18665]</title><link>http://parallelpatterns.codeplex.com/workitem/18665</link><description>This issue is designed for tracking errata in the book text. Things like minor typos.&lt;br /&gt;&lt;br /&gt;&amp;#42;Page 65&amp;#42;&lt;br /&gt;&lt;br /&gt;On page 65 of the Preliminary Draft there is a typo&amp;#58; &amp;#34;form&amp;#34; should be &amp;#34;from.&amp;#34;  This is found in the following text&amp;#58;  &lt;br /&gt;&lt;br /&gt;&amp;#34;Bypassing the Thread Pool If you don&amp;#8217;t want a task to use a worker thread &amp;#42;&amp;#42;form&amp;#42;&amp;#42; the thread pool, you can create a new thread for its dedicated use.&amp;#34;&lt;br /&gt;Comments: ** Comment from web user: AdeMiller ** &lt;p&gt;The ISBN you got from O&amp;#8217;Reilly, listed below, and which is printed inside the Parallel Programming with Microsoft.NET book on the copyright page is incorrect. If you go to Amazon, for instance, and search by ISBN number, the book you get is Parallel Programming with Microsoft Visual Studio 2010 Step by Step, written by Doris Marshall. The ISBN number for our book is listed on Amazon as 9780735651593. The bar code on the back of our book is the correct number. It&amp;#8217;s not a really big deal but just thought you should know.&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Wed, 12 Jan 2011 04:23:23 GMT</pubDate><guid isPermaLink="false">Commented Issue: Book Errata [18665] 20110112042323A</guid></item><item><title>Commented Issue: Book Errata [18665]</title><link>http://parallelpatterns.codeplex.com/workitem/18665</link><description>This issue is designed for tracking errata in the book text. Things like minor typos.&lt;br /&gt;&lt;br /&gt;&amp;#42;Page 65&amp;#42;&lt;br /&gt;&lt;br /&gt;On page 65 of the Preliminary Draft there is a typo&amp;#58; &amp;#34;form&amp;#34; should be &amp;#34;from.&amp;#34;  This is found in the following text&amp;#58;  &lt;br /&gt;&lt;br /&gt;&amp;#34;Bypassing the Thread Pool If you don&amp;#8217;t want a task to use a worker thread &amp;#42;&amp;#42;form&amp;#42;&amp;#42; the thread pool, you can create a new thread for its dedicated use.&amp;#34;&lt;br /&gt;Comments: ** Comment from web user: AdeMiller ** &lt;p&gt;Additional Errata submitted to O&amp;#39;Reilly&amp;#58;&lt;/p&gt;&lt;p&gt; &amp;#9;PDF&amp;#9;Minor technical mistake&amp;#9;Change &amp;#34;the loop index&amp;#34; to &amp;#34;a loop-indexed variable&amp;#34; Loop-carried dependence. If the body of a parallel for loop performs arithmetic on the loop index, there is likely to be a dependency that is known as loop-carried dependence. Should be Loop-carried dependence. If the body of a parallel for loop performs arithmetic on&amp;#8230; &lt;br /&gt;View details and modify status &amp;#187;&lt;/p&gt;&lt;p&gt;Submitted by&amp;#58; Steve Bearman&lt;br /&gt;Send a response &amp;#187;&lt;br /&gt;Needs Review&lt;/p&gt;&lt;p&gt; &amp;#9;PDF&amp;#9;Minor technical mistake&amp;#9;Change &amp;#34;percent&amp;#34; to &amp;#34;fraction&amp;#34;&amp;#58; Amdahl&amp;#65533;s law says that no matter how many cores you have, the maximum speedup you can ever achieve is &amp;#40;1 &amp;#47; percent of time spent in sequential processing&amp;#41;. Should be Amdahl&amp;#65533;s law says that no matter how many cores you have, the maximum speedup you can ever achieve&amp;#8230; &lt;br /&gt;View details and modify status &amp;#187;&lt;/p&gt;&lt;p&gt;Submitted by&amp;#58; Steve Bearman&lt;br /&gt;Send a response &amp;#187;&lt;br /&gt;Needs Review&lt;/p&gt;&lt;p&gt; &amp;#9;Printed, PDF&amp;#9;Language change or typo&amp;#9;The word consumer is mispelled in the following sentence&amp;#58; Pipelines are expressions of a general technique known as producer&amp;#47; cotnsumer.&lt;br /&gt;View details and modify status &amp;#187;&lt;/p&gt;&lt;p&gt;Submitted by&amp;#58; genegw&lt;br /&gt;Send a response &amp;#187;&lt;br /&gt;Needs Review&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Thu, 06 Jan 2011 21:55:50 GMT</pubDate><guid isPermaLink="false">Commented Issue: Book Errata [18665] 20110106095550P</guid></item><item><title>Created Issue: Trend.Predict(double ordinate) [19190]</title><link>http://parallelpatterns.codeplex.com/workitem/19190</link><description>The argument of Microsoft.Practices.ParallelGuideSamples.Utilities.Trend.Predict&amp;#40;double ordinate&amp;#41; should be called abscissa according to the mathematical definition.&lt;br /&gt;</description><author>gfoidl</author><pubDate>Sun, 28 Nov 2010 21:54:12 GMT</pubDate><guid isPermaLink="false">Created Issue: Trend.Predict(double ordinate) [19190] 20101128095412P</guid></item><item><title>Closed Issue: ImagePipeline UI uses Textboxes for readonly data [18668]</title><link>http://parallelpatterns.codeplex.com/workitem/18668</link><description>The content in the textboxes is readonly but the textboxes can be typed in by the user. This is a little odd but doesn&amp;#39;t cause any actual issues with the application.&lt;br /&gt;Comments: &lt;p&gt;Fixed by changeset 54191.&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Wed, 29 Sep 2010 11:40:42 GMT</pubDate><guid isPermaLink="false">Closed Issue: ImagePipeline UI uses Textboxes for readonly data [18668] 20100929114042A</guid></item><item><title>Closed Issue: ToGray GrayLuma not called in ImagePipeline\BitmapExtensions.cs [18669]</title><link>http://parallelpatterns.codeplex.com/workitem/18669</link><description>Uncalled code. Remove to make things easier to read.&lt;br /&gt;Comments: &lt;p&gt;Fixed by changeset 54191.&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Wed, 29 Sep 2010 11:40:32 GMT</pubDate><guid isPermaLink="false">Closed Issue: ToGray GrayLuma not called in ImagePipeline\BitmapExtensions.cs [18669] 20100929114032A</guid></item><item><title>Closed Issue: F# ImagePipeline throws IndexOutOfRangeException [18703]</title><link>http://parallelpatterns.codeplex.com/workitem/18703</link><description>Twice now when I&amp;#8217;ve run the ImagePipeline sample I&amp;#8217;ve had an IndexOutOfRangeException when I press the &amp;#8220;stop&amp;#8221; button. The exception is reraised but the stacktrace seems to indicate a problem here in BlockingMultiplexer.fs&lt;br /&gt;&lt;br /&gt;                        let index &amp;#61; &lt;br /&gt;                           &amp;#40;producers &amp;#124;&amp;#62; Seq.filter &amp;#40;fun info -&amp;#62; info.Collection &amp;#61; waitList.&amp;#91;waitListIndex&amp;#93;&amp;#41;&lt;br /&gt;                                      &amp;#124;&amp;#62; Seq.map &amp;#40;fun info -&amp;#62; info.Index&amp;#41;&amp;#41;.Single&amp;#40;&amp;#41;&lt;br /&gt;                        let lockId &amp;#61; lockOrderFn &amp;#40;&amp;#33;item&amp;#41;&lt;br /&gt;&lt;br /&gt;Tomas, you might like to quickly review the translation from C&amp;#35;. Otherwise I guess it&amp;#8217;s a bug in the original C&amp;#35; code.&lt;br /&gt;Comments: &lt;p&gt;Fixed with changeset 54190.&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Wed, 29 Sep 2010 11:03:07 GMT</pubDate><guid isPermaLink="false">Closed Issue: F# ImagePipeline throws IndexOutOfRangeException [18703] 20100929110307A</guid></item><item><title>Commented Issue: F# ImagePipeline throws IndexOutOfRangeException [18703]</title><link>http://parallelpatterns.codeplex.com/workitem/18703</link><description>Twice now when I&amp;#8217;ve run the ImagePipeline sample I&amp;#8217;ve had an IndexOutOfRangeException when I press the &amp;#8220;stop&amp;#8221; button. The exception is reraised but the stacktrace seems to indicate a problem here in BlockingMultiplexer.fs&lt;br /&gt;&lt;br /&gt;                        let index &amp;#61; &lt;br /&gt;                           &amp;#40;producers &amp;#124;&amp;#62; Seq.filter &amp;#40;fun info -&amp;#62; info.Collection &amp;#61; waitList.&amp;#91;waitListIndex&amp;#93;&amp;#41;&lt;br /&gt;                                      &amp;#124;&amp;#62; Seq.map &amp;#40;fun info -&amp;#62; info.Index&amp;#41;&amp;#41;.Single&amp;#40;&amp;#41;&lt;br /&gt;                        let lockId &amp;#61; lockOrderFn &amp;#40;&amp;#33;item&amp;#41;&lt;br /&gt;&lt;br /&gt;Tomas, you might like to quickly review the translation from C&amp;#35;. Otherwise I guess it&amp;#8217;s a bug in the original C&amp;#35; code.&lt;br /&gt;Comments: ** Comment from web user: AdeMiller ** &lt;p&gt;The behavior I see is that the UI locks up.&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Wed, 29 Sep 2010 11:01:45 GMT</pubDate><guid isPermaLink="false">Commented Issue: F# ImagePipeline throws IndexOutOfRangeException [18703] 20100929110145A</guid></item><item><title>Commented Issue: F# ImagePipeline throws IndexOutOfRangeException [18703]</title><link>http://parallelpatterns.codeplex.com/workitem/18703</link><description>Twice now when I&amp;#8217;ve run the ImagePipeline sample I&amp;#8217;ve had an IndexOutOfRangeException when I press the &amp;#8220;stop&amp;#8221; button. The exception is reraised but the stacktrace seems to indicate a problem here in BlockingMultiplexer.fs&lt;br /&gt;&lt;br /&gt;                        let index &amp;#61; &lt;br /&gt;                           &amp;#40;producers &amp;#124;&amp;#62; Seq.filter &amp;#40;fun info -&amp;#62; info.Collection &amp;#61; waitList.&amp;#91;waitListIndex&amp;#93;&amp;#41;&lt;br /&gt;                                      &amp;#124;&amp;#62; Seq.map &amp;#40;fun info -&amp;#62; info.Index&amp;#41;&amp;#41;.Single&amp;#40;&amp;#41;&lt;br /&gt;                        let lockId &amp;#61; lockOrderFn &amp;#40;&amp;#33;item&amp;#41;&lt;br /&gt;&lt;br /&gt;Tomas, you might like to quickly review the translation from C&amp;#35;. Otherwise I guess it&amp;#8217;s a bug in the original C&amp;#35; code.&lt;br /&gt;Comments: ** Comment from web user: AdeMiller ** &lt;p&gt;I believe this might be a bug in the port.&lt;/p&gt;&lt;p&gt;The C&amp;#35; code&lt;/p&gt;&lt;p&gt;                        if &amp;#40;waitList.Length &amp;#61;&amp;#61; 0&amp;#41;&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            if &amp;#40;token.IsCancellationRequested&amp;#41;&lt;br /&gt;                                yield break&amp;#59;&lt;br /&gt;                            else&lt;br /&gt;                                throw new InvalidOperationException&amp;#40;&amp;#34;Producer blocking collections omitted required value &amp;#34; &amp;#43;&lt;br /&gt;                                    nextLockId.ToString&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125;&lt;/p&gt;&lt;p&gt;was ported into F&amp;#35; as &lt;br /&gt;                   if waitList.Length &amp;#61; 0 then&lt;br /&gt;                       if token.IsCancellationRequested then &lt;br /&gt;                           yieldBreak &amp;#58;&amp;#61; true&lt;br /&gt;                       else&lt;br /&gt;                           let msg &amp;#61; &amp;#34;Producer blocking collections omitted required value &amp;#34; &amp;#43; nextLockId.ToString&amp;#40;&amp;#41;&lt;br /&gt;                           raise &amp;#40;new InvalidOperationException&amp;#40;msg&amp;#41;&amp;#41;&lt;/p&gt;&lt;p&gt;I think this is a bug because in F&amp;#35; you have allowed a loop to continue that should be terminated.  &amp;#40;I think you need to add some kind of loop break or nonlocal exit to the F&amp;#35; so that you break out of the current iteration.&amp;#41;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Tue, 07 Sep 2010 21:46:35 GMT</pubDate><guid isPermaLink="false">Commented Issue: F# ImagePipeline throws IndexOutOfRangeException [18703] 20100907094635P</guid></item><item><title>Commented Issue: F# ImagePipeline throws IndexOutOfRangeException [18703]</title><link>http://parallelpatterns.codeplex.com/workitem/18703</link><description>Twice now when I&amp;#8217;ve run the ImagePipeline sample I&amp;#8217;ve had an IndexOutOfRangeException when I press the &amp;#8220;stop&amp;#8221; button. The exception is reraised but the stacktrace seems to indicate a problem here in BlockingMultiplexer.fs&lt;br /&gt;&lt;br /&gt;                        let index &amp;#61; &lt;br /&gt;                           &amp;#40;producers &amp;#124;&amp;#62; Seq.filter &amp;#40;fun info -&amp;#62; info.Collection &amp;#61; waitList.&amp;#91;waitListIndex&amp;#93;&amp;#41;&lt;br /&gt;                                      &amp;#124;&amp;#62; Seq.map &amp;#40;fun info -&amp;#62; info.Index&amp;#41;&amp;#41;.Single&amp;#40;&amp;#41;&lt;br /&gt;                        let lockId &amp;#61; lockOrderFn &amp;#40;&amp;#33;item&amp;#41;&lt;br /&gt;&lt;br /&gt;Tomas, you might like to quickly review the translation from C&amp;#35;. Otherwise I guess it&amp;#8217;s a bug in the original C&amp;#35; code.&lt;br /&gt;Comments: ** Comment from web user: AdeMiller ** &lt;p&gt;Doesn&amp;#39;t repro on C&amp;#35; version.&lt;/p&gt;</description><author>AdeMiller</author><pubDate>Tue, 07 Sep 2010 18:40:35 GMT</pubDate><guid isPermaLink="false">Commented Issue: F# ImagePipeline throws IndexOutOfRangeException [18703] 20100907064035P</guid></item><item><title>Created Issue: ImagePipeline throws IndexOutOfRangeException [18703]</title><link>http://parallelpatterns.codeplex.com/workitem/18703</link><description>Twice now when I&amp;#8217;ve run the ImagePipeline sample I&amp;#8217;ve had an IndexOutOfRangeException when I press the &amp;#8220;stop&amp;#8221; button. The exception is reraised but the stacktrace seems to indicate a problem here in BlockingMultiplexer.fs&lt;br /&gt;&lt;br /&gt;                        let index &amp;#61; &lt;br /&gt;                           &amp;#40;producers &amp;#124;&amp;#62; Seq.filter &amp;#40;fun info -&amp;#62; info.Collection &amp;#61; waitList.&amp;#91;waitListIndex&amp;#93;&amp;#41;&lt;br /&gt;                                      &amp;#124;&amp;#62; Seq.map &amp;#40;fun info -&amp;#62; info.Index&amp;#41;&amp;#41;.Single&amp;#40;&amp;#41;&lt;br /&gt;                        let lockId &amp;#61; lockOrderFn &amp;#40;&amp;#33;item&amp;#41;&lt;br /&gt;&lt;br /&gt;Tomas, you might like to quickly review the translation from C&amp;#35;. Otherwise I guess it&amp;#8217;s a bug in the original C&amp;#35; code.&lt;br /&gt;</description><author>AdeMiller</author><pubDate>Tue, 07 Sep 2010 16:08:20 GMT</pubDate><guid isPermaLink="false">Created Issue: ImagePipeline throws IndexOutOfRangeException [18703] 20100907040820P</guid></item></channel></rss>