android_device_xiaomi_sdm66.../utils
Kevin Tang 02cad4d981 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
2016-02-23 01:47:33 -08:00
..
platform_lib_abstractions Avoiding race conditions during the pallellized builds in Android system 2015-03-09 11:55:44 -07:00
Android.mk Adding a number of utilities 2015-11-12 12:56:25 +05:30
linked_list.c hardware/qcom/gps: Porting HAL and Loc API 2.0 2013-07-03 17:08:14 -07:00
linked_list.h Merge branch jb_mr1 into jb_2.6 2013-06-11 14:58:24 -07:00
loc_cfg.cpp Fix Memory leak in util/loc_cfg.cpp 2015-06-13 20:01:02 -07:00
loc_cfg.h adding update config post power up 2014-10-20 14:54:26 -07:00
loc_log.cpp LCA additions to ULP and log_util defines 2015-07-13 19:24:44 +05:30
loc_log.h A mechanism to detect APQ chip set 2013-08-02 19:01:02 -07:00
loc_misc_utils.cpp Add new utilities 2014-02-10 10:15:54 -08:00
loc_misc_utils.h Add new utilities 2014-02-10 10:15:54 -08:00
loc_target.cpp Fix implicit declaration errors in gps hal 2015-07-13 19:25:13 +05:30
loc_target.h Add utility to identify lean targets 2015-03-19 17:33:06 -07:00
loc_timer.h crash in LocTimer wrapper 2015-11-12 12:57:56 +05:30
LocHeap.cpp timer bug fix 2015-11-12 13:02:18 +05:30
LocHeap.h Adding a number of utilities 2015-11-12 12:56:25 +05:30
LocSharedLock.h make LocSharedLock::mRef ops atomic 2016-02-23 01:47:33 -08:00
LocThread.cpp fix for compiler warnings 2016-02-10 16:15:03 +05:30
LocThread.h Crash fix with MsgTask API change 2015-11-12 13:06:32 +05:30
LocTimer.cpp another potential race condition 2015-11-12 13:08:00 +05:30
LocTimer.h Crash fix with MsgTask API change 2015-11-12 13:06:32 +05:30
log_util.h LCA additions to ULP and log_util defines 2015-07-13 19:24:44 +05:30
Makefile.am hardware/qcom/gps: Porting HAL and Loc API 2.0 2013-07-03 17:08:14 -07:00
msg_q.c made a convenient msg_q_init2 2013-07-23 20:12:54 -06:00
msg_q.h made a convenient msg_q_init2 2013-07-23 20:12:54 -06:00
MsgTask.cpp Crash fix with MsgTask API change 2015-11-12 13:06:32 +05:30
MsgTask.h Crash fix with MsgTask API change 2015-11-12 13:06:32 +05:30