commit | fb961e506628f484ce2bde53c919d05941dec6f2 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Mon Nov 28 11:48:02 2016 -0800 |
committer | Zhijun He <zhijunhe@google.com> | Tue Jan 10 19:50:54 2017 -0800 |
tree | 756106b31f5080c959665545b63115fe635cd75b | |
parent | a5da1026bc86bb3365d886024cf0c2589c08196a [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: I63efbe24c49c3f539530d6461e89fbfe62a24920