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
2bea4744
Commit
2bea4744
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
parent
05885815
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Python/thread_os2.h
Python/thread_os2.h
+5
-1
No files found.
Python/thread_os2.h
View file @
2bea4744
...
...
@@ -14,6 +14,10 @@
long
PyThread_get_thread_ident
(
void
);
#endif
#if !defined(THREAD_STACK_SIZE)
#define THREAD_STACK_SIZE 0x10000
#endif
/*
* Initialization of the C package, should not be needed.
*/
...
...
@@ -31,7 +35,7 @@ PyThread_start_new_thread(void (*func)(void *), void *arg)
int
aThread
;
int
success
=
0
;
aThread
=
_beginthread
(
func
,
NULL
,
65536
,
arg
);
aThread
=
_beginthread
(
func
,
NULL
,
THREAD_STACK_SIZE
,
arg
);
if
(
aThread
==
-
1
)
{
success
=
-
1
;
...
...
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