commit | 9c98c005f4ea59dd9425a4ee5d4e278f1c00ad8c | [log] [tgz] |
---|---|---|
author | erikchen <erikchen@chromium.org> | Tue Sep 08 17:50:22 2015 |
committer | Commit bot <commit-bot@chromium.org> | Tue Sep 08 17:51:18 2015 |
tree | 4b31ab5d26b7eb0df922b63cac91aac666529792 | |
parent | b6da1f7c02e9fdf92bc07bb8a139a376c1179456 [diff] |
mac: Add a hack to condition_variable_posix.cc to avoid a crash. The Darwin pthreads subsystem has a bug that can cause the program to crash if a conditional variable is destroyed after it has been signalled, but before it has been waited on. This hack is a solution proposed by Apple in its own developer forums. BUG=517681 Review URL: https://codereview.chromium.org/1323293005 Cr-Commit-Position: refs/heads/master@{#347736}