<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>mikeash.com pyblog/friday-qa-2015-09-04-lets-build-dispatch_queue.html comments</title><link>http://www.mikeash.com/?page=pyblog/friday-qa-2015-09-04-lets-build-dispatch_queue.html#comments</link><description>mikeash.com Recent Comments</description><lastBuildDate>Sun, 12 Apr 2026 03:44:44 GMT</lastBuildDate><generator>PyRSS2Gen-1.0.0</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Hery R - 2015-10-05 14:06:13</title><link>http://www.mikeash.com/?page=pyblog/friday-qa-2015-09-04-lets-build-dispatch_queue.html#comments</link><description>Cool! Sounds like a more elaborated version of a problem I had to solve on a Google interview.</description><guid isPermaLink="true">27702381f52116b8957a320ca964cc36</guid><pubDate>Mon, 05 Oct 2015 14:06:13 GMT</pubDate></item><item><title>Michael M. Mayer - 2015-09-15 20:12:54</title><link>http://www.mikeash.com/?page=pyblog/friday-qa-2015-09-04-lets-build-dispatch_queue.html#comments</link><description>Mike - Another great expose of an interesting topic.  As always I learned new things (NSCondition and spurious wake up).  Your solution is also a design pattern that will no doubt be useful to me in the future.  Thank you.</description><guid isPermaLink="true">b5731ad963f8b21ecf2bf99d6f1c2656</guid><pubDate>Tue, 15 Sep 2015 20:12:54 GMT</pubDate></item><item><title>elfenlaid - 2015-09-07 12:32:10</title><link>http://www.mikeash.com/?page=pyblog/friday-qa-2015-09-04-lets-build-dispatch_queue.html#comments</link><description>dispatch_once was described here &lt;a href="https://mikeash.com/pyblog/friday-qa-2014-06-06-secrets-of-dispatch_once.html"&gt;https://mikeash.com/pyblog/friday-qa-2014-06-06-secrets-of-dispatch_once.html&lt;/a&gt;</description><guid isPermaLink="true">d6086b3adc1513dc67df277d93753b8b</guid><pubDate>Mon, 07 Sep 2015 12:32:10 GMT</pubDate></item><item><title>Andrew Hershberger - 2015-09-05 00:53:36</title><link>http://www.mikeash.com/?page=pyblog/friday-qa-2015-09-04-lets-build-dispatch_queue.html#comments</link><description>Thanks for another great article!
&lt;br /&gt;
&lt;br /&gt;I noticed that it uses less-than when comparing the blocks count to the number of idle threads: &lt;code&gt;if([_blocks count] &amp;lt; idleThreads…&lt;/code&gt;. The source on GitHub shows greater-than, which I believe is correct.</description><guid isPermaLink="true">2e7516746cc5e5a87c106cdf6d522794</guid><pubDate>Sat, 05 Sep 2015 00:53:36 GMT</pubDate></item><item><title>mikeash - 2015-09-04 14:38:56</title><link>http://www.mikeash.com/?page=pyblog/friday-qa-2015-09-04-lets-build-dispatch_queue.html#comments</link><description>You can see various rebuilds in my article linked on &lt;code&gt;dispatch_once&lt;/code&gt;. For convenience, the URL:
&lt;br /&gt;
&lt;br /&gt;&lt;a href="https://mikeash.com/pyblog/friday-qa-2014-06-06-secrets-of-dispatch_once.html"&gt;https://mikeash.com/pyblog/friday-qa-2014-06-06-secrets-of-dispatch_once.html&lt;/a&gt;</description><guid isPermaLink="true">4103fc47678c88684ca75a0c83108a03</guid><pubDate>Fri, 04 Sep 2015 14:38:56 GMT</pubDate></item><item><title>David Dunham  - 2015-09-04 14:15:47</title><link>http://www.mikeash.com/?page=pyblog/friday-qa-2015-09-04-lets-build-dispatch_queue.html#comments</link><description>Can we see the dispatch_once magical rebuild?</description><guid isPermaLink="true">1bf99cd94b7b6579a2f6f951864a1f38</guid><pubDate>Fri, 04 Sep 2015 14:15:47 GMT</pubDate></item></channel></rss>
