OSDN Git Service

Do not clear tids on detached threads.
authorChristopher Ferris <cferris@google.com>
Sat, 7 Dec 2013 02:54:48 +0000 (18:54 -0800)
committerChristopher Ferris <cferris@google.com>
Sat, 7 Dec 2013 07:00:44 +0000 (23:00 -0800)
commit101fb7d963ed362c4e351d95e55cbd70dc59eac3
tree07785e035365c55c1720f26db8086fcd5cb778ad
parent6afe8ab7533937c7444756ae72dda547b9849fe2
Do not clear tids on detached threads.

Make sure that the kernel isn't going to try and clear the tid of
freed memory.

Bug: 11963327
Change-Id: I95d02340bfbe92f56036d2cc58dbf0e3079eb7c3
libc/bionic/pthread_exit.cpp