Re: [Boost-bugs] [Boost C++ Libraries] #10833: boost::async should support auto scheduling (launch deferred)?

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10833: boost::async should support auto scheduling (launch deferred)?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-03 19:57:48


#10833: boost::async should support auto scheduling (launch deferred)?
-------------------------------+---------------------
  Reporter: adishavit@… | Owner: viboes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------

Comment (by adishavit@…):

 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:

 auto fut = std::async(doAsyncWork); // onus of thread mgmt is // on
 implementer of // the Standard Library

 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10833#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC