[llvm-bugs] [Bug 41198] New: Parallel.h's use of of concrt / ppl is incorrect
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Mar 22 05:44:42 PDT 2019
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: unassignedbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190322/59d71522/attachment.html>
More information about the llvm-bugs
mailing list