summaryrefslogtreecommitdiff
path: root/utils/loc_misc_utils.cpp
diff options
context:
space:
mode:
authorKevin Tang <zhikait@codeaurora.org>2016-02-11 14:50:58 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-03-02 21:45:22 -0800
commita05f77fa0bc52e4af440f8fe3a4b043209396680 (patch)
treeffcdaea4f6736594e3390c0dd42f275f96180f0c /utils/loc_misc_utils.cpp
parentecb67363ee73c0374424795ae6014a794065f5ab (diff)
downloadgps-a05f77fa0bc52e4af440f8fe3a4b043209396680.tar.gz
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
Diffstat (limited to 'utils/loc_misc_utils.cpp')
0 files changed, 0 insertions, 0 deletions