author | Elliott Hughes <enh@google.com> | |
Sat, 16 Feb 2013 03:21:51 +0000 (19:21 -0800) | ||
committer | Elliott Hughes <enh@google.com> | |
Tue, 19 Feb 2013 20:21:41 +0000 (12:21 -0800) | ||
commit | 9d23e04c43dbb8480bea8be28b8a2f37423bec49 | |
tree | e403288cf01ce40d6f330da09a317c7ad6dc2cb2 | tree | snapshot (tar.xz tar.gz zip) |
parent | 081318e3550b1a8d8384d98d7c94527681691120 | commit | diff |
Fix pthreads functions that should return ESRCH.
imgtec pointed out that pthread_kill(3) was broken, but most of the
other functions that ought to return ESRCH for invalid/exited threads
were equally broken.
Change-Id: I96347f6195549aee0c72dc39063e6c5d06d2e01f
imgtec pointed out that pthread_kill(3) was broken, but most of the
other functions that ought to return ESRCH for invalid/exited threads
were equally broken.
Change-Id: I96347f6195549aee0c72dc39063e6c5d06d2e01f
15 files changed:
libc/Android.mk | diff | blob | history | |
libc/bionic/pthread.c | diff | blob | history | |
libc/bionic/pthread_accessor.h | [new file with mode: 0644] | blob |
libc/bionic/pthread_detach.cpp | [new file with mode: 0644] | blob |
libc/bionic/pthread_equal.cpp | [new file with mode: 0644] | blob |
libc/bionic/pthread_getcpuclockid.cpp | [new file with mode: 0644] | blob |
libc/bionic/pthread_getschedparam.cpp | [new file with mode: 0644] | blob |
libc/bionic/pthread_internal.h | diff | blob | history | |
libc/bionic/pthread_internals.cpp | [new file with mode: 0644] | blob |
libc/bionic/pthread_join.cpp | [new file with mode: 0644] | blob |
libc/bionic/pthread_kill.cpp | [new file with mode: 0644] | blob |
libc/bionic/pthread_self.cpp | [new file with mode: 0644] | blob |
libc/bionic/pthread_setschedparam.cpp | [new file with mode: 0644] | blob |
libc/include/pthread.h | diff | blob | history | |
tests/pthread_test.cpp | diff | blob | history |