diff options
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2006-06-13 15:04:24 +0000 |
---|---|---|
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2006-06-13 15:04:24 +0000 |
commit | 6dfd7bf6b08562b51d62585e8a5e0b5f73da970d (patch) | |
tree | 9840837bb02112002c2390347fddb4766b5195c6 /Include | |
parent | 1684065e0253381731c445d14532e9c33afc81a2 (diff) | |
download | cpython-6dfd7bf6b08562b51d62585e8a5e0b5f73da970d.tar.gz |
Patch #1454481: Make thread stack size runtime tunable.
Heavily revised, comprising revisions:
46640 - original trunk revision (backed out in r46655)
46647 - markup fix (backed out in r46655)
46692:46918 merged from branch aimacintyre-sf1454481
branch tested on buildbots (Windows buildbots had problems
not related to these changes).
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pythread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pythread.h b/Include/pythread.h index 0fa8db04f0..f26db160bf 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); |