summaryrefslogtreecommitdiffstats
path: root/init/util.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2017-02-10 18:05:34 -0800
committerYabin Cui <yabinc@google.com>2017-02-13 10:35:06 -0800
commit26369a3a010ad4c34b28766318bc1835403c1bf0 (patch)
tree2af622367637339fd08343cb7647c3d46bb25dfc /init/util.cpp
parent5c3a707542fdae13611b973ec0404f3573c058ea (diff)
downloadsystem_core-26369a3a010ad4c34b28766318bc1835403c1bf0.tar.gz
system_core-26369a3a010ad4c34b28766318bc1835403c1bf0.tar.bz2
system_core-26369a3a010ad4c34b28766318bc1835403c1bf0.zip
libbacktraceoffline: make it thread-safe.
Make libbacktraceoffline thread-safe by protecting the global variable with a lock. So it can be used in a multi-thread environment, like by simpleperf inplace sampling. Bug: http://b/30974760 Test: no Change-Id: I4699bf15dfa69ac75faeb4e79a73fb3af0f08dfc
Diffstat (limited to 'init/util.cpp')
0 files changed, 0 insertions, 0 deletions