diff options
author | Zach Reizner <zachr@google.com> | 2015-11-13 16:09:39 -0800 |
---|---|---|
committer | Zach Reizner <zachr@google.com> | 2015-11-13 16:09:39 -0800 |
commit | 49446bc72b33b8b68352b2048657bea4a8da4a42 (patch) | |
tree | 6affe4ab0837e0cef4f66ad7853385e74d6a5ee9 /Android.mk | |
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
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -37,6 +37,7 @@ LOCAL_C_INCLUDES := \ system/core/libsync/include \ LOCAL_SRC_FILES := \ + autolock.cpp \ drmresources.cpp \ drmcomposition.cpp \ drmcompositor.cpp \ |