diff options
author | Elliott Hughes <enh@google.com> | 2013-03-29 16:35:00 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-03-29 16:58:33 -0700 |
commit | 96449b3dc16d64ea91df83c9d7942f3e22e76b52 (patch) | |
tree | 997d2426cee1da6870a2bd549c55afae68db2b80 /libc/netbsd/net/getaddrinfo.c | |
parent | b24b6e1419382146f85571cdda27d48fb348141d (diff) | |
download | android_bionic-96449b3dc16d64ea91df83c9d7942f3e22e76b52.tar.gz android_bionic-96449b3dc16d64ea91df83c9d7942f3e22e76b52.tar.bz2 android_bionic-96449b3dc16d64ea91df83c9d7942f3e22e76b52.zip |
Extra logging in pthread_create.
pthread_create returns EAGAIN when it can't allocate a pthread_internal_t,
when it can't allocate a stack for the new thread, or when clone(2) fails
because there are too many threads. It's useful to be able to know why your
pthread_create just failed, so add some logging.
Bug: 8470684
(cherry picked from commit cfa089df23ff50fcd5ed3854c54991d30be5fc7e)
Change-Id: Ibfc98a84c1817a931f9ae4c2b88762f0edfb6b79
Diffstat (limited to 'libc/netbsd/net/getaddrinfo.c')
0 files changed, 0 insertions, 0 deletions