[PATCH] Use std::async instead of our own parallel execution instrumentation.

Rui Ueyama ruiu at google.com
Fri Oct 11 16:05:40 PDT 2013


I don't understand why you think platform specific frameworks would work
better than the C++11 threading library. There should be no fundamental
reason the C++11 threading library is less performant than
platform-specific ones. Or, are you talking about some platform's
implementation of the C++11 threading library is currently broken?

On Fri, Oct 11, 2013 at 3:45 PM, Shankar Kalpathi Easwaran <
shankarke at gmail.com> wrote:

>
>   I think the main reason behind TaskGroup was to override concurrent
> libraries that are platform specific available at linktime.
>
>   For example: on windows you would use ConcRT and on Darwin there is a
> different concurrent library (forgot, which was discussed earlier).
>
>   std::async doesnot allow to use frameworks that best work on different
> flavors in my opinion for threads.
>
> http://llvm-reviews.chandlerc.com/D1904
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131011/69697034/attachment.html>


More information about the llvm-commits mailing list