summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Tim Murray <timmurray@google.com> 2022-02-17 10:01:19 -0800
committer Tim Murray <timmurray@google.com> 2022-02-17 11:08:08 -0800
commit00ff352c34cb46d96156cdef69a6acf0bdfa5356 (patch)
tree64fa0c8acb626c89d921440ed7431c84ad4cbf6f /vulkan/libvulkan/api.cpp
parenta4419eb57ab7f69b8c1d3ce125e2207b66a05393 (diff)
dumpstate: fix race in waitpid_with_timeout()
If the child process exits fast enough, then sigtimedwait will never get a signal and never actually call waitpid. Check to see if the child process has already died before calling sigtimedwait. Test: dumpstate_test Bug: 215574756 Change-Id: I5d0fa5d537e502b2a8254f8d6ba218f3f7161229
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions