commit | 183f056393423b344e73f388f21d30379a38e519 | [log] [tgz] |
---|---|---|
author | Ruben Brunk <rubenbrunk@google.com> | Wed Aug 12 12:55:02 2015 -0700 |
committer | Ruben Brunk <rubenbrunk@google.com> | Wed Aug 12 14:13:16 2015 -0700 |
tree | a3ea7463340322257cc66457f66d43532cd6a0be | |
parent | 4327df2af078894c38a8eb69f4873bef92cc0f83 [diff] |
Fix deadlock conditions in Camera3Device. Potential deadlock conditions this addresses, include: - Not waking up waiting threads for several situations where the status had been updated. - Not waking up all waiting thread when status had been updated (only one thread was awoken due to use of signal). - Threads clear status transitions before other waiting threads have a chance to examine them. Bug: 22448586 Change-Id: I53ba669d333a83d2bfa1ca3170d34acc6d8fe6e3