Merge "bionic: Do not use PAGE_SIZE to define PTHREAD_STACK_MIN" into main am: b49314108d am: b3f5421462 am: d9bb13ac1e

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2860686

Change-Id: Ib96af1b18f8fe3deed9c08800a3454e2bdb584e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Juan Yescas 2023-12-06 21:32:10 +00:00 committed by Automerger Merge Worker
commit 8de167971d

View file

@ -77,12 +77,12 @@ enum {
#if defined(__LP64__)
#if defined(PAGE_SIZE)
#define PTHREAD_STACK_MIN (4 * PAGE_SIZE)
#define PTHREAD_STACK_MIN 16384
#else
#define PTHREAD_STACK_MIN 65536
#endif
#else
#define PTHREAD_STACK_MIN (2 * PAGE_SIZE)
#define PTHREAD_STACK_MIN 8192
#endif
#define PTHREAD_CREATE_DETACHED 1