commit | 411951c341ec169312ee3fbc4bee3aaa662156d2 | [log] [tgz] |
---|---|---|
author | Kevin Tang <zhikait@codeaurora.org> | Thu Feb 11 14:50:58 2016 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Feb 19 12:38:43 2016 -0800 |
tree | 68161042ce68ee9db9aa7baa470e329da78cf219 | |
parent | 41961e47d58f44dbb7dadad957dfc496cd1cf319 [diff] |
make LocSharedLock::mRef ops atomic The current share() and drop() calls are not thread safe, which can cause memory heap correuption. This changes the read / write ops to be atomic. Change-Id: Ic241d4573bdf2e58c4e264e97bd41b56f882c791 CRs-Fixed: 975372