summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2006-06-04 12:31:09 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2006-06-04 12:31:09 (GMT)
commit6539d2d3c758b507f10779e218d52d6c9f355025 (patch)
treed3677cd901f44e2341a50be45d8a3d2f6d1f4da6 /Include
parent7a071939d96702e13c377a5e7f87df7bf20391e5 (diff)
downloadcpython-6539d2d3c758b507f10779e218d52d6c9f355025.zip
cpython-6539d2d3c758b507f10779e218d52d6c9f355025.tar.gz
cpython-6539d2d3c758b507f10779e218d52d6c9f355025.tar.bz2
Patch #1454481: Make thread stack size runtime tunable.
Diffstat (limited to 'Include')
-rw-r--r--Include/pythread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pythread.h b/Include/pythread.h
index 0fa8db0..f26db16 100644
--- a/Include/pythread.h
+++ b/Include/pythread.h
@@ -25,6 +25,9 @@ PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
#define NOWAIT_LOCK 0
PyAPI_FUNC(void) PyThread_release_lock(PyThread_type_lock);
+PyAPI_FUNC(size_t) PyThread_get_stacksize(void);
+PyAPI_FUNC(int) PyThread_set_stacksize(size_t);
+
#ifndef NO_EXIT_PROG
PyAPI_FUNC(void) PyThread_exit_prog(int);
PyAPI_FUNC(void) PyThread__PyThread_exit_prog(int);