[flang] Use std::mutex instead of pthreads (flang-compiler/f18#1006)
authorSteve Scalpone <sscalpone@nvidia.com>
Thu, 5 Mar 2020 14:52:35 +0000 (06:52 -0800)
committerGitHub <noreply@github.com>
Thu, 5 Mar 2020 14:52:35 +0000 (06:52 -0800)
commite8f09da68d72ccfcf1182b9a7f25f8e98cfb3dd6
treeb000e027d26c685e3e32a57cfc18bb98f5055221
parent5dfd2b06d464f77171a3ef028b6c4f90d8561b07
[flang] Use std::mutex instead of pthreads (flang-compiler/f18#1006)

* Use std::mutex for portability.

Original-commit: flang-compiler/f18@a9a725eb9d2c39a203f4b4f55f1e03c5e17f6cf7
Reviewed-on: https://github.com/flang-compiler/f18/pull/1006
flang/runtime/lock.h