diff options
author | Greg Clayton <gclayton@apple.com> | 2013-05-10 23:48:10 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-05-10 23:48:10 +0000 |
commit | f9b57b9d77cd2b69073310cf265206e4452b0ac8 (patch) | |
tree | 954191a290a66ef52af11c5c26c84ecf2930ae50 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 2b93c54c4a93c16c3d75ae996f916ec3b9b4a60b (diff) | |
download | bcm5719-llvm-f9b57b9d77cd2b69073310cf265206e4452b0ac8.tar.gz bcm5719-llvm-f9b57b9d77cd2b69073310cf265206e4452b0ac8.zip |
<rdar://problem/13700260>
Avoid a deadlock when using the OperatingSystemPython code and typing "process interrupt". There was a possible lock inversion between the target API lock and the process' thread list lock due to code trying to discard the thread list. This was fixed by adding a boolean to Process::Halt() that indicates if the thread plans should be discarded and doing it in the private state thread when we process the stopped state.
llvm-svn: 181651
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions