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:
commit
8de167971d
1 changed files with 2 additions and 2 deletions
|
@ -77,12 +77,12 @@ enum {
|
||||||
|
|
||||||
#if defined(__LP64__)
|
#if defined(__LP64__)
|
||||||
#if defined(PAGE_SIZE)
|
#if defined(PAGE_SIZE)
|
||||||
#define PTHREAD_STACK_MIN (4 * PAGE_SIZE)
|
#define PTHREAD_STACK_MIN 16384
|
||||||
#else
|
#else
|
||||||
#define PTHREAD_STACK_MIN 65536
|
#define PTHREAD_STACK_MIN 65536
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define PTHREAD_STACK_MIN (2 * PAGE_SIZE)
|
#define PTHREAD_STACK_MIN 8192
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PTHREAD_CREATE_DETACHED 1
|
#define PTHREAD_CREATE_DETACHED 1
|
||||||
|
|
Loading…
Reference in a new issue