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:35:00 -0700 |
commit | cfa089df23ff50fcd5ed3854c54991d30be5fc7e (patch) | |
tree | c64519db5533b9324efe7e4a712ba327860bbb9d /libc/stdio/setbuffer.c | |
parent | 74b324ac09db35d29d16695e9b9c1f0601599812 (diff) |
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
Change-Id: I1bb4497d4f7528eacce0db35c2014771cba64569
Diffstat (limited to 'libc/stdio/setbuffer.c')
0 files changed, 0 insertions, 0 deletions