commit | 02cad4d9819e07f5827a583ea5fdd2d4b5fa7070 | [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> | Tue Feb 23 01:47:33 2016 -0800 |
tree | 0cca8ad167fc647c3be4e8124c01d0915787d9f5 | |
parent | fff5a01dfe63004f4b74c7fe99ceb432d46c894d [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