Elliott Hughes 96449b3dc1 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
2013-03-29 16:58:33 -07:00
..
2013-03-29 16:58:33 -07:00
2012-11-29 11:53:33 -08:00
2013-03-07 11:51:10 -08:00
2013-03-07 11:51:10 -08:00