Descriptionwin: Fix incorrect thread suspend count due to ScopedProcessSuspend
After https://codereview.chromium.org/1303173011/, the thread suspend
count would be one too large because the count is adjusted when the
process is suspended. Counteract this by passing in whether the
process is suspended or not so that the thread's suspension count
can be adjusted.
Add a test to sanity-check thread suspend count.
R=mark@chromium.org
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/d7f90b45b6318eb3e54002aa52bfd579e5346852
Patch Set 1 #Patch Set 2 : pass in state #
Total comments: 10
Patch Set 3 : fixes #
Total comments: 4
Patch Set 4 : assert some threads captured #
Messages
Total messages: 11 (0 generated)
|