Merge "16k: Set PTHREAD_STACK_MIN to 16384/8192 for 64-bit/32-bit archs" into main am: 93e0616836
am: 2fe3c7f701
am: 50fbc4d8a9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2864176 Change-Id: I1be6a6ab7cf232eb02261af8666dbeba2cde1390 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
f7f17a8dac
1 changed files with 0 additions and 5 deletions
|
@ -74,14 +74,9 @@ enum {
|
|||
#define PTHREAD_BARRIER_SERIAL_THREAD (-1)
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(__LP64__)
|
||||
#if defined(PAGE_SIZE)
|
||||
#define PTHREAD_STACK_MIN 16384
|
||||
#else
|
||||
#define PTHREAD_STACK_MIN 65536
|
||||
#endif
|
||||
#else
|
||||
#define PTHREAD_STACK_MIN 8192
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue