This revision was automatically updated to reflect the committed changes.
Closed by commit rL330002: Prevent deadlock in OS Plugins (authored by
JDevlieghere, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45586?vs=142239&id=142371#toc
Repository:
rL LLVM
https://reviews
JDevlieghere updated this revision to Diff 142239.
JDevlieghere added a comment.
Make things a little more consistent.
https://reviews.llvm.org/D45586
Files:
source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
Index: source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
JDevlieghere created this revision.
JDevlieghere added reviewers: clayborg, jingham, labath.
When performing a synchronous resume, the API mutex is held until the
process is stopped. This is fine, except for when the OS plugins are processing
an event before the main thread is aware of it, in whic