[llvm-bugs] [Bug 49067] New: Detached task with child tasks can deadlock in omp_fulfill_event

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 5 15:38:03 PST 2021


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

            Bug ID: 49067
           Summary: Detached task with child tasks can deadlock in
                    omp_fulfill_event
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: protze at itc.rwth-aachen.de
                CC: llvm-bugs at lists.llvm.org

Executing the attached code with more than 4 thread leads to all threads
waiting in a while loop in 
/w0/pj416018/llvm-project/openmp/runtime/src/kmp_tasking.cpp:3808

As I understand the related runtime code, the runtime assumes that there are no
child tasks left at this point.

-- 
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/20210205/797a4e11/attachment.html>


More information about the llvm-bugs mailing list