OSDN Git Service

Revert "Revert "More pthreads cleanup.""
authorElliott Hughes <enh@google.com>
Tue, 12 Feb 2013 16:40:24 +0000 (16:40 +0000)
committerElliott Hughes <enh@google.com>
Tue, 12 Feb 2013 23:27:18 +0000 (15:27 -0800)
commit3e898476c7230b60a0f76968e64ff25f475b48c0
tree0f876aeb565b7e7ac627a6305a355c40173912f2
parentfcaf4e9f9b735e053469c7ecbf63584e10fd67a7
Revert "Revert "More pthreads cleanup.""

This reverts commit 6f94de3ca49e4ea147b1c59e5818fa175846518f

(Doesn't try to increase the number of TLS slots; that leads to
an inability to boot. Adds more tests.)

Change-Id: Ia7d25ba3995219ed6e686463dbba80c95cc831ca
18 files changed:
libc/Android.mk
libc/bionic/dirent.cpp
libc/bionic/pthread.c
libc/bionic/pthread_attr.cpp [new file with mode: 0644]
libc/bionic/pthread_internal.h
libc/bionic/pthread_key.cpp
libc/bionic/pthread_setname_np.cpp [new file with mode: 0644]
libc/bionic/pthread_sigmask.cpp
libc/bionic/strerror_r.cpp
libc/bionic/stubs.cpp
libc/bionic/sysconf.cpp
libc/bionic/tmpfile.cpp
libc/private/ErrnoRestorer.h [new file with mode: 0644]
libc/private/ThreadLocalBuffer.h
libc/private/bionic_futex.h
libc/private/bionic_tls.h
tests/Android.mk
tests/pthread_test.cpp