commit | 435be951d07359c05821548afdf4533b8e33d65f | [log] [tgz] |
---|---|---|
author | Zach Reizner <zachr@google.com> | Fri Nov 13 16:09:39 2015 -0800 |
committer | The Android Automerger <android-build@google.com> | Fri Nov 20 00:45:24 2015 -0800 |
tree | 8e219cb42aca93eef3e076d972012fd1239e3784 | |
parent | aa362b141f76be506052119eac9b98850be26f4a [diff] |
drm_hwcomposer: add AutoLock to automatically handle pthread_mutex_lock For functions that need to hold locks and also handle errors, using AutoLock will make them much simpler and less prone to mutex handling errors. Change-Id: Ida6545850e89186c552e3d58b2973c14852494ad