Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ff59f3c4
Commit
ff59f3c4
authored
Jan 17, 2005
by
Andrew MacIntyre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make thread stack size compile-time tunable on OS/2, increase main stack
parent
2bea4744
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
PC/os2emx/Makefile
PC/os2emx/Makefile
+17
-1
No files found.
PC/os2emx/Makefile
View file @
ff59f3c4
...
...
@@ -129,10 +129,26 @@ else
AR
=
ar
endif
# === Build time resource settings ===
# EMX's default number of file handles is 40, which is sometimes insufficient
# (the tempfile regression test tries to create 100 temporary files)
NFILES
=
250
# The default stack size for child threads is 64k bytes, which is
# insufficient for some applications which do a lot of work in threads
# (such as Zope, especially in conjunction with Plone).
# Note that this setting is distinct from the stack size for the main
# thread, which is set via the %.def rule below.
# EMX documents that the thread stack size should be at least 32768 bytes;
# for Zope/Plone at least 128k bytes is recommended.
# Uncomment & adjust the next line to override the default stack size:
#CFLAGS+= -DTHREAD_STACK_SIZE=0x20000
# === The environment ===
# Source file paths
SRCPATH
=
.
;
../../Python
;
../../Parser
;
../../Objects
;
../../Include
;
../../Modules
# Python contains the central core, containing the builtins and interpreter.
...
...
@@ -215,7 +231,7 @@ $(OUT)%$O: %.c
@
echo
Creating .DEF file:
$@
@
echo
NAME
$(
notdir
$*
)
$
(
EXETYPE.
$(
notdir
$*
)
.exe
)
>
$@
@
echo
DESCRIPTION
$(DQUOTE)
$
(
DESCRIPTION.
$(
notdir
$*
)
.exe
)
$(DQUOTE)
>>
$@
@
echo
STACKSIZE
1572864
>>
$@
@
echo
STACKSIZE
2097152
>>
$@
# Output file names
PYTHON_VER
=
2.4
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment