Boost C++ Libraries: Ticket #10833: boost::async should support auto scheduling (launch deferred)? https://svn.boost.org/trac10/ticket/10833 <p> One of the design choices for std::async() default launch policy was to allow the OS scheduler to decide whether or not to launch a new thread or remain on the same thread (presumably based on available system resources). Boost::async() does not seem to support this default auto scheduling yet? It seems to be launching as many threads as tasks. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10833 Trac 1.4.3 viboes Tue, 02 Dec 2014 17:49:50 GMT <link>https://svn.boost.org/trac10/ticket/10833#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10833#comment:1</guid> <description> <p> What would be for you the criteria to switch to defer? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Tue, 02 Dec 2014 17:50:05 GMT</pubDate> <title>owner changed https://svn.boost.org/trac10/ticket/10833#comment:2 https://svn.boost.org/trac10/ticket/10833#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> </ul> Ticket adishavit@… Tue, 02 Dec 2014 21:24:44 GMT <link>https://svn.boost.org/trac10/ticket/10833#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10833#comment:3</guid> <description> <p> This should be based on system load as determined by the OS. At least this is how Herb Sutter presented it in one of his talks, and how Scott Meyers claims it should work. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 03 Dec 2014 05:51:39 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10833#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10833#comment:4</guid> <description> <p> I would need something more precise. DO you have some pointers? </p> </description> <category>Ticket</category> </item> <item> <author>adishavit@…</author> <pubDate>Wed, 03 Dec 2014 19:57:48 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10833#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10833#comment:5</guid> <description> <p> Effective Modern C++, item 35: "Your life will be easier if you dump these problems on somebody else, and using std::async does exactly that: </p> <p> auto fut = std::async(doAsyncWork); <em> onus of thread mgmt is </em> on implementer of <em> the Standard Library </em></p> <p> This call shifts the thread management responsibility to the implementer of the C++ Standard Library...When it comes to load balancing, however, the runtime scheduler is likely to have a more comprehensive picture of what’s happening on the machine than you do, because it manages the threads from all processes, not just the one your code is running in. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 03 Dec 2014 20:35:28 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10833#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10833#comment:6</guid> <description> <p> Unfortunately this is not the case of Boost.Thread. </p> </description> <category>Ticket</category> </item> <item> <author>adishavit@…</author> <pubDate>Wed, 03 Dec 2014 22:44:19 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10833#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10833#comment:7</guid> <description> <p> OK. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Fri, 05 Dec 2014 20:31:16 GMT</pubDate> <title>type changed https://svn.boost.org/trac10/ticket/10833#comment:8 https://svn.boost.org/trac10/ticket/10833#comment:8 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Feature Requests</span> </li> </ul> Ticket viboes Mon, 26 Jan 2015 07:37:23 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10833#comment:9 https://svn.boost.org/trac10/ticket/10833#comment:9 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> Ticket