llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
27.81k stars 11.45k forks source link

Improve std::async QoI when implementing new parallel algorithms #28211

Open llvmbot opened 8 years ago

llvmbot commented 8 years ago
Bugzilla Link 27837
Version unspecified
OS Windows NT
Reporter LLVM Bugzilla Contributor
CC @hfinkel,@mclow

Extended Description

The current implementation of async boots up a new thread for every call. There are likely better implementations, which will become easier to adopt once we have better parallelism machinery.

We should look into improving std::async as part of implementing parallel algorithms.

llvmbot commented 8 years ago

Also we should reconsider the implementation of std::future and the rest of the stuff in

llvmbot commented 8 years ago

Assigning to Marshall, since your working on this.

llvmbot commented 8 years ago

assigned to @mclow