commit | 2641bd474536c433421ca8f51bfe4e76d239e44a | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Mon Nov 28 11:48:02 2016 -0800 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Thu Dec 15 13:26:37 2016 -0800 |
tree | e8db12d4d3c1c26920e3f710d22152ed63901a9c | |
parent | 43d055f3ebc663c18cfc58e547d738a4dc349624 [diff] |
QCamera2: HAL3: Use monotonic timestamp for pthread_cond_timedwait Wall time may jump forward/backward. Especially when it jumps forward, pthread_cond_timedwait may return early with TIMEOUT. Switch to MONOTONIC time base instead. Bug: 33110475 Change-Id: I7801c8a0c85dff25ed431c3aec63eecf3dc37b52