summaryrefslogtreecommitdiffstats
path: root/libcutils
diff options
context:
space:
mode:
authorsanketk <sanketk@codeaurora.org>2015-06-12 16:38:56 +0800
committerSteve Kondik <steve@cyngn.com>2016-06-30 23:32:23 -0700
commit00c551e284b61d458f05759a489d615933e3667b (patch)
tree1fb7f4489c480bd1707610b4e38e11038f5b074f /libcutils
parent64caba3c021a9b86f093476b343df9bd3d3a4dbb (diff)
downloadsystem_core-00c551e284b61d458f05759a489d615933e3667b.zip
system_core-00c551e284b61d458f05759a489d615933e3667b.tar.gz
system_core-00c551e284b61d458f05759a489d615933e3667b.tar.bz2
Don't use global variable in libnetutils.
In netd, both CommandListener and NetlinkHandler thread will use libnetutils' function. Original implementation will use a global file descriptor in mutiple functions. It will cause problems when these functions are invoked from different thread. This change will make NetlinkHandler thread use local file descriptor instead of global one. CRs-fixed: 853158 Change-Id: I66458e99e48197e7a56cbb212344423290db12bd
Diffstat (limited to 'libcutils')
0 files changed, 0 insertions, 0 deletions