2a1bb4e646
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 |
||
---|---|---|
.. | ||
ErrnoRestorer.h | ||
KernelArgumentBlock.h | ||
ScopedPthreadMutexLocker.h | ||
ThreadLocalBuffer.h | ||
__dso_handle.h | ||
__dso_handle_so.h | ||
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_futex.h | ||
bionic_pthread.h | ||
bionic_ssp.h | ||
bionic_time.h | ||
bionic_tls.h | ||
cpuacct.h | ||
ctype_private.h | ||
debug_format.h | ||
kernel_sigset_t.h | ||
logd.h | ||
nsswitch.h | ||
rand48.h | ||
resolv_cache.h | ||
resolv_iface.h | ||
resolv_private.h | ||
resolv_static.h | ||
syscommon.h | ||
thread_private.h |