[llvm-bugs] [Bug 49066] Detached task with child tasks can deadlock in omp_fulfill_event

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 20 07:09:14 PDT 2021


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

Joachim Protze <protze at itc.rwth-aachen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Joachim Protze <protze at itc.rwth-aachen.de> ---
It is unclear, whether concurrently using the same event handle for different
tasks is considered a data race and therefore triggers UB. For now, I assume
the second reproducer is broken. Marking the event handle private fixes the
issue.

-- 
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/20210920/488cdca8/attachment.html>


More information about the llvm-bugs mailing list