commit | 8a9f71b77c5f038c9be6cf2885202a1e1b7c3a57 | [log] [tgz] |
---|---|---|
author | Joshua Peraza <jperaza@chromium.org> | Mon Jul 27 10:21:22 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jan 19 07:12:38 2021 -0800 |
tree | 1d612f94a2fdb69c2c42c0fde1baec6fccce6545 | |
parent | 871300f00f0ea32a334d1d1dd1a70994f0d6d356 [diff] |
linux: fix timer test Semaphore is implemented with a mutex and condition variable. When a semaphore is used in TimerTest, Run() acquires a lock to guard its CV but may be interrupted by the signal handler before releasing the lock which results in a hang when Signal(), called from the signal handler, also needs to acquire the lock. Bug: chromium:1050178 Change-Id: I1c3f6ce5644f392a91ec907276377998376bd741 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2318554 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Joshua Peraza <jperaza@chromium.org> GitOrigin-RevId: e89ba0d1d66fee2fa9884eada3a95edd0ce87605
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.