commit | 6a7aaf46759db32c6ed0eb953a4a230dc96af0d9 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Dec 22 19:17:33 2014 -0800 |
committer | Yabin Cui <yabinc@google.com> | Fri Jan 02 14:33:48 2015 -0800 |
tree | 89b9cbd40571d38d60c19730224c90efd0fb4ebf | |
parent | a2177c6ccb65104659543c895b753458abfadcab [diff] [blame] |
Reserve enough user request stack space in pthread_create. Bug: 18830897 Change-Id: I1ba4aaeaf66a7ff99c5d82ad45469011171b0a3b
diff --git a/libc/bionic/pthread_internal.h b/libc/bionic/pthread_internal.h index 95097b7..62ec543 100644 --- a/libc/bionic/pthread_internal.h +++ b/libc/bionic/pthread_internal.h
@@ -86,6 +86,9 @@ pthread_mutex_t startup_handshake_mutex; + /* Store real allocated stack size, including thread stack and pthread_internal_t. */ + int allocated_stack_size; + void* tls[BIONIC_TLS_SLOTS]; /*