commit | f8f788b2054e2327524454e603db931b3ac6d08e | [log] [tgz] |
---|---|---|
author | Andrey Churbanov <Andrey.Churbanov@intel.com> | Thu May 16 17:52:53 2019 +0000 |
committer | Andrey Churbanov <Andrey.Churbanov@intel.com> | Thu May 16 17:52:53 2019 +0000 |
tree | 5b64b9b7387be0dd7d56cdd9b412df30e2660e00 | |
parent | 58964566e05ba8d6be7a4b16d12d4c53109c915e [diff] |
Fixed second issue reported in https://bugs.llvm.org/show_bug.cgi?id=41584. Added synchronization for possible concurrent initialization of mutexes by multiple threads. The need of synchronization caused by commit r357927 which added the use of mutexes at threads movement to/from common pool (earlier the mutexes were used only at suspend/resume). Patch by Johnny Peyton. Differential Revision: https://reviews.llvm.org/D61995 llvm-svn: 360919