N4039: Default executor -- Adam Berkan, Chris Mysen, Hans Boehm

A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.

Document number: N4039

Date: 2014-05-23

Default executor

by Adam Berkan, Chris Mysen, Hans Boehm

Excerpt:

So far the standard has been quiet about whether there is a default executor (See n3785 for more about executors).  A well-written library that wishes to be flexible should take an executor as a parameter.  Unfortunately there is today no good default for that library.  Programmers want a way to run tasks asynchronously without having to create new executors. ...

We’ve been discussing a number of proposals;  they all have pros and cons.  They all center around 3 new standard executors: ... We don’t think any specific favorite proposal is obviously the best, but would like to hear what others think...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.