Skip to content
Commit b5cd6233 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Use 'waitpid' instead of 'wait'. Basing Program::Wait() on 'wait()' prevents...

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
parent 4546d312
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment