commit | b874c06dbcb20376c9a3244e50420ac7f3e95125 | [log] [tgz] |
---|---|---|
author | Priyanka Gujjula <pgujjula@codeaurora.org> | Tue Jun 23 21:03:33 2020 +0530 |
committer | Priyanka Gujjula <pgujjula@codeaurora.org> | Thu Sep 10 16:35:27 2020 +0530 |
tree | 61be8c31ba41243852c5a6b224567d24a17e4c17 | |
parent | 7febbd9854d129e669c6406b0260428b4af2361b [diff] |
media: Update clock id for clock_gettime clock_realtime can be manipulated using system time change. System time clocks can go for a toss anytime. Hence updating clock identifier to clock_monotonic which cannot be manipulated. Also, initialize pthread_cond API's to use monotonic clock to avoid conversion of real time from monotonic clock. Replace sem_timedwait API with sem_timedwait monotonic_np as monotonic clock is used. Change-Id: Id9ad1c042c1596e68955d3e30ddd447fb31747ef