OSDN Git Service

Cause Fatal error when invalid pthread_id is detected.
authorYabin Cui <yabinc@google.com>
Wed, 25 Mar 2015 00:43:14 +0000 (17:43 -0700)
committerYabin Cui <yabinc@google.com>
Wed, 25 Mar 2015 22:30:39 +0000 (15:30 -0700)
commit03324780aae9ff28c8acf52debf0ea39120e5ab8
tree0b20e663701fc040c406d7f7014680b63b73f5ed
parent0c3b632bd6570064bab1055d2b8a51cfb85e60bb
Cause Fatal error when invalid pthread_id is detected.

This is a patch testing whether we can use abort() instead of
returning ESRCH for invalid pthread ids. It is an intermediate
step to remove g_thread_list/g_thread_list_lock.

Bug: 19636317
Change-Id: Idd8e4a346c7ce91e1be0c2ebcb78ce51c0d0a31d
libc/bionic/pthread_internal.cpp
tests/pthread_test.cpp