https://bugs.llvm.org/show_bug.cgi?id=41198

            Bug ID: 41198
           Summary: Parallel.h's use of of concrt / ppl is incorrect
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: unassignedb...@nondot.org
          Reporter: nicolaswe...@gmx.de
                CC: llvm-bugs@lists.llvm.org

Writes BillyONeil (https://reviews.llvm.org/D59676#1438927):

'''There's also an issue here that this code is using std::mutex with ConcRT
powered machinery like Concurrency::parallel_for_each, which is not supported
and is likely to result in deadlocks. ConcRT assumes that everything you give
to it is non-blocking, so you can't use Concurrency::parallel_for_each with
platform synchronization primitives. (This is the biggest reason we, MSVC++,
are moving away from ConcRT as a technoligy and did not use it to power our
parallel algorithms implementation)'''


We should probably move off concrt / ppl then.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to