[Openmp-commits] [PATCH] D61944: Fixed https://bugs.llvm.org/show_bug.cgi?id=41584

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed May 15 09:50:10 PDT 2019


AndreyChurbanov added a comment.

Thanks, Joel.

I actually was not able to reproduce your first problem.  But I hope the patch should fix both.

Johannes,

Your guess is true, - it was decremented twice, and with race condition.  After "synchronized" decrement there are debug assertion that it is still non-negative.  So, if all "broken" decrements happen after the synchronous ones, everything looked fine, otherwise the debug assertion triggered.


Repository:
  rOMP OpenMP

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

https://reviews.llvm.org/D61944





More information about the Openmp-commits mailing list