[Openmp-commits] [PATCH] D79702: [OpenMP] Fix race condition in the completion/freeing of detached tasks

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon May 11 08:01:13 PDT 2020


protze.joachim updated this revision to Diff 263172.
protze.joachim added a comment.

Applied clang-format

Take the lock in `__kmp_fulfill_event` to avoid the race between unlocking in `__kmp_task_finish` and freeing taskdata (which contains the lock).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79702/new/

https://reviews.llvm.org/D79702

Files:
  openmp/runtime/src/kmp_tasking.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79702.263172.patch
Type: text/x-patch
Size: 6254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200511/cf926ed2/attachment-0001.bin>


More information about the Openmp-commits mailing list