diff options
| author | Zachary Turner <zturner@google.com> | 2015-01-06 20:56:12 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2015-01-06 20:56:12 +0000 |
| commit | c8761f4807266f06463e5aaf3953d7bc0e11d759 (patch) | |
| tree | ee27aaa46d980bea90c4dc317da141a389db3f93 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 0f39721261d344194a4530dfbaa2848193e8fe1e (diff) | |
Remove a lock acquisition from ProcessWindows::OnExitProcess.
This was causing a race condition where DoDestroy() would acquire
the lock and then initiate a shutdown and then wait for it to
complete. But part of the shutdown involved acquiring the same
lock from a different thread. So the main thread would timeout
waiting for the shutdown to complete and return too soon.
The end result of this is that SBProcess::Kill() was broken on
Windows.
llvm-svn: 225297
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
