commit | 49446bc72b33b8b68352b2048657bea4a8da4a42 | [log] [tgz] |
---|---|---|
author | Zach Reizner <zachr@google.com> | Fri Nov 13 16:09:39 2015 -0800 |
committer | Zach Reizner <zachr@google.com> | Fri Nov 13 16:09:39 2015 -0800 |
tree | 6affe4ab0837e0cef4f66ad7853385e74d6a5ee9 | |
parent | 8467b129419b0f78974bd478809ad32da4fd09fa [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