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: N3832
Date: 2014-01-17
Task Region
by Pablo Halpern, Arch Robison, Hong Hong, Artur Laksberg, Gor Nishanov, Herb Sutter
Excerpt:
This paper introduces C++ library functions
task_region
,task_run
andtask_wait
that enable developers
to write expressive and portable parallel code....
A previous proposal, N3711, was presented to the Committee at the Chicago meeting in 2013. N3711 closely
follows the design of the PPL/TBB with slight modifications to improve exception safety.This proposal adopts a simpler syntax than N3711 -- one that eschews a named object in favor of three
namespace-scoped functions. It improves N3711 in the following ways:
- The exception handling model is simplified and more consistent with normal C++ exceptions.
- Strict fork-join parallelism is now enforced at compile time.
- The syntax allows scheduling approaches other than child stealing.
We aim to converge with the language-based proposal for low-level parallelism described in N3409 and related documents.
Add a Comment
Comments are closed.