commit | 59c9b8b72e3bcfcb70694fb9e6a6291311d53e98 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Mon Nov 28 11:48:02 2016 -0800 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Tue Nov 29 16:05:55 2016 -0800 |
tree | 524cce6a4c02e909d0279179a22a94d52b8e246b | |
parent | c2ee3304e16253ceab19f9be91c5da84233940f3 [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