diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-10-22 22:16:17 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-10-22 22:16:17 +0000 |
commit | 8201ebd40b0270eb6d36ff95dc69fb5ca6bae1db (patch) | |
tree | 5464d7786b77e36989d044c380759df0c0ddebb4 /lib/Support/APFloat.cpp | |
parent | 71a5c22c2b635ea903c3ae7d2695ca649b38726f (diff) |
Use 'waitpid' instead of 'wait'. Basing Program::Wait() on 'wait()' prevents it being correct within a multithreaded context.
This address: PR 5277 (Program::Wait is unsafe to call from multiple threads).
Note: If waitpid() turns out to be non-portable, we can add more autoconf magic, or look into
another solution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/APFloat.cpp')
0 files changed, 0 insertions, 0 deletions