summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-03-25 16:18:21 -0700
committerYabin Cui <yabinc@google.com>2015-03-25 16:18:21 -0700
commit799cb35f45a161de96b272de38724f77e988f5f3 (patch)
tree2bb1b0a74646c3295d8b862019431e78e08f975f /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent0c3b632bd6570064bab1055d2b8a51cfb85e60bb (diff)
Fix in error handling in pthread_create.cpp.
It is due to a previous change "Let g_thread_list_lock only protect g_thread_list". We need to add the newly created thread to thread_list even if __init_thread fails, so the thread can exit successfully. Change-Id: I0332df11acfdd181350bcc092b12d90d679057a4
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions