summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorRobert Sesek <rsesek@google.com>2016-10-25 10:29:02 -0400
committerRobert Sesek <rsesek@google.com>2016-10-28 12:14:23 -0400
commita4edf7a57cf818d19546c86b74146335468ea53f (patch)
tree1199a22df4fe7e794399611016d0a6cf7561b497 /libc/malloc_debug/malloc_debug.cpp
parentbd839d100d1c4802cf53f3d27bb73e6032719762 (diff)
Fix gettid() after clone().
The tid is cached in the pthread_internal_t and is properly re-set after fork() and pthread_create(). But after a plain clone() the value is stale from the parent. Test: mmma bionic/tests Test: bionic-unit-tests-static --gtest_filter=*fork*:*clone* Test: m checkbuild tests Test: angler boots Bug: 32305649 Change-Id: I026d416d1537484cd3e05c8493a35e5ed2acc8ed
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions