platform_bionic/libc/private
Elliott Hughes c3f114037d <pthread.h> fixes and pthread cleanup.
<pthread.h> was missing nonnull attributes, noreturn on pthread_exit,
and had incorrect cv qualifiers for several standard functions.

I've also marked the non-standard stuff (where I count glibc rather
than POSIX as "standard") so we can revisit this cruft for LP64 and
try to ensure we're compatible with glibc.

I've also broken out the pthread_cond* functions into a new file.

I've made the remaining pthread files (plus ptrace) part of the bionic code
and fixed all the warnings.

I've added a few more smoke tests for chunks of untested pthread functionality.

We no longer need the libc_static_common_src_files hack for any of the
pthread implementation because we long since stripped out the rest of
the armv5 support, and this hack was just to ensure that __get_tls in libc.a
went via the kernel if necessary.

This patch also finishes the job of breaking up the pthread.c monolith, and
adds a handful of new tests.

Change-Id: Idc0ae7f5d8aa65989598acd4c01a874fe21582c7
2013-10-31 12:31:16 -07:00
..
__get_tls.h Fix __errno for LP64 and clean up __get_tls. 2013-10-09 13:39:13 -07:00
arpa_nameser.h Fix x86_64 build, clean up intermediate libraries. 2013-10-09 16:00:17 -07:00
arpa_nameser_compat.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
bionic_atomic_arm.h bionic_atomic_arm.h: Remove < ARMv6 support 2013-07-03 14:14:06 -07:00
bionic_atomic_gcc_builtin.h Fix implementation of generic atomic operations 2012-07-24 13:56:38 -07:00
bionic_atomic_inline.h Report errors to the log, not just stderr. 2012-07-27 17:43:38 -07:00
bionic_atomic_mips.h [MIPS] Add atomic routines 2012-07-24 10:30:22 -07:00
bionic_atomic_x86.h bionic: Do not use <sys/atomics.h> for platform code. 2011-11-16 16:28:10 +01:00
bionic_auxv.h Remove 32-bit assumptions from the ELF code. 2013-09-30 18:43:46 -07:00
bionic_futex.h <pthread.h> fixes and pthread cleanup. 2013-10-31 12:31:16 -07:00
bionic_pthread.h <pthread.h> fixes and pthread cleanup. 2013-10-31 12:31:16 -07:00
bionic_ssp.h Simplify __stack_chk_fail, and fix it so we get debuggerd stack traces. 2013-02-14 14:37:34 -08:00
bionic_time.h Ensure header files using __BEGIN_DECLS include sys/cdefs.h. 2013-06-05 17:58:08 -07:00
bionic_time_conversions.h Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
bionic_tls.h Fix __errno for LP64 and clean up __get_tls. 2013-10-09 13:39:13 -07:00
ErrnoRestorer.h Revert "Revert "More pthreads cleanup."" 2013-02-12 15:27:18 -08:00
kernel_sigset_t.h Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
KernelArgumentBlock.h Remove 32-bit assumptions from the ELF code. 2013-09-30 18:43:46 -07:00
libc_events.h Optimize __memset_chk, __memcpy_chk. DO NOT MERGE. 2013-08-14 18:14:43 -07:00
libc_logging.h Optimize __memset_chk, __memcpy_chk. DO NOT MERGE. 2013-08-14 18:14:43 -07:00
nsswitch.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
resolv_cache.h resolv_cache: hide some libc private functions 2013-03-29 13:56:05 -07:00
resolv_iface.h dns cache per interface iteration 2 2013-02-07 09:40:16 -08:00
resolv_private.h am 87b4286f: Merge "Expose dn_comp and dn_expand to system C code." 2013-07-02 16:02:30 -07:00
resolv_static.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ScopedPthreadMutexLocker.h Fix dlerror(3). 2012-10-11 16:08:51 -07:00
ScopedReaddir.h Reimplement scandir(3). 2013-02-25 13:14:31 -08:00
thread_private.h Clean up useless declaration in thread_private.h 2013-06-05 11:26:24 +08:00
ThreadLocalBuffer.h Revert "Revert "More pthreads cleanup."" 2013-02-12 15:27:18 -08:00