mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
bpo-18049: Sync thread stack size to main thread size on macOS (GH-14748)
This changeset increases the default size of the stack for threads on macOS to the size of the stack of the main thread and reenables the relevant recursion test.
This commit is contained in:
parent
ed5e8e06cb
commit
1a057bab0f
5 changed files with 9 additions and 3 deletions
|
|
@ -2694,6 +2694,8 @@ then
|
|||
# Issue #18075: the default maximum stack size (8MBytes) is too
|
||||
# small for the default recursion limit. Increase the stack size
|
||||
# to ensure that tests don't crash
|
||||
# Note: This matches the value of THREAD_STACK_SIZE in
|
||||
# thread_pthread.h
|
||||
LINKFORSHARED="-Wl,-stack_size,1000000 $LINKFORSHARED"
|
||||
|
||||
if test "$enable_framework"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue