commit | 441789be5b83ce7d6c26151436673fd0b01ca6a9 | [log] [tgz] |
---|---|---|
author | Joshua Peraza <jperaza@chromium.org> | Tue Jan 30 20:20:03 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 30 21:01:48 2018 |
tree | 41923a633144cb00f44821b6390fb1f8a6d697bd | |
parent | c9244d58df1d27baf91b6cad117f2b0061da152d [diff] |
android: Implement Semaphore with a condition variable and mutex Bionic uses negative values of a semaphore to represent contention. `sem_timedwait` fails to restore the value to 0 on timeout resulting in an error (EBUSY) upon calling `sem_destroy`. Bug: crashpad:30 Change-Id: If1c73a54a879ebd003b0792ebb8f68ceb83ac8bb Reviewed-on: https://chromium-review.googlesource.com/894106 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Joshua Peraza <jperaza@chromium.org>
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.