summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-10-22 22:16:17 +0000
committerTed Kremenek <kremenek@apple.com>2009-10-22 22:16:17 +0000
commitb5cd6233b1780a0b64cb4839b1ed64defadea5a7 (patch)
tree5defa8123905e8441cfc85ad7deba53637e315d8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent4546d3123506be9fad18fa1132e5ea45145b2ffe (diff)
downloadbcm5719-llvm-b5cd6233b1780a0b64cb4839b1ed64defadea5a7.tar.gz
bcm5719-llvm-b5cd6233b1780a0b64cb4839b1ed64defadea5a7.zip
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. llvm-svn: 84903
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud