Bug ID: 41198
Summary: Parallel.h's use of of concrt / ppl is incorrect
Component: Support Libraries
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