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

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed May 15 11:09:31 PDT 2019


jdoerfert added a comment.

In D61944#1503254 <https://reviews.llvm.org/D61944#1503254>, @AndreyChurbanov wrote:

> 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.


Thx!


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