android_bionic/libc/private
Elliott Hughes 2a1bb4e646 More pthreads cleanup.
POSIX says pthread_create returns EAGAIN, not ENOMEM.

Also pull pthread_attr_t functions into their own file.

Also pull pthread_setname_np into its own file.

Also remove unnecessary #includes from pthread_key.cpp.

Also account for those pthread keys used internally by bionic,
so they don't count against the number of keys available to user
code. (They do with glibc, but glibc's limit is the much more
generous 1024.)

Also factor out the common errno-restoring idiom to reduce gotos.

Bug: 6702535
Change-Id: I555e66efffcf2c1b5a2873569e91489156efca42
2013-02-11 14:56:39 -08:00
..
ErrnoRestorer.h More pthreads cleanup. 2013-02-11 14:56:39 -08:00
KernelArgumentBlock.h Clean up the argc/argv/envp/auxv handling. 2013-02-07 11:44:21 -08:00
ScopedPthreadMutexLocker.h Fix dlerror(3). 2012-10-11 16:08:51 -07:00
ThreadLocalBuffer.h More pthreads cleanup. 2013-02-11 14:56:39 -08:00
__dso_handle.h
__dso_handle_so.h Rename __dso_handle_so.c to __dso_handle_so.h 2012-09-07 12:49:41 +08:00
arpa_nameser.h
arpa_nameser_compat.h
bionic_atomic_arm.h
bionic_atomic_gcc_builtin.h
bionic_atomic_inline.h
bionic_atomic_mips.h
bionic_atomic_x86.h
bionic_auxv.h bionic_auxv.h: fix #define conflict 2013-01-22 13:09:04 -08:00
bionic_futex.h More pthreads cleanup. 2013-02-11 14:56:39 -08:00
bionic_pthread.h
bionic_ssp.h Switch to using AT_RANDOM for the stack guards. 2013-02-08 11:16:13 -08:00
bionic_time.h Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."" 2013-01-15 11:12:18 -08:00
bionic_tls.h More pthreads cleanup. 2013-02-11 14:56:39 -08:00
cpuacct.h
ctype_private.h
debug_format.h Fix the duplication in the debugging code. 2013-01-18 22:20:06 -08:00
kernel_sigset_t.h Only have one copy of the kernel_sigset_t hack, and add more tests. 2013-01-10 14:42:14 -08:00
logd.h clean up FORTIFY_SOURCE handling. 2012-12-04 15:27:30 -08:00
nsswitch.h
rand48.h Upgrade to the current NetBSD rand implementation. 2012-10-01 13:53:41 -07:00
resolv_cache.h
resolv_iface.h
resolv_private.h
resolv_static.h
syscommon.h
thread_private.h