diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-06-04 23:52:47 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-06-04 23:52:47 (GMT) |
commit | 28eeefe566d77cd3af3d675c4f2216c5033fe538 (patch) | |
tree | 7fec63fcf38c5dbe611860fb74e8c49206d2e581 /Doc | |
parent | c7d14452a4ed303d38498cc16c3cfc0beed9b843 (diff) | |
download | cpython-28eeefe566d77cd3af3d675c4f2216c5033fe538.zip cpython-28eeefe566d77cd3af3d675c4f2216c5033fe538.tar.gz cpython-28eeefe566d77cd3af3d675c4f2216c5033fe538.tar.bz2 |
Revert revisions:
46640 Patch #1454481: Make thread stack size runtime tunable.
46647 Markup fix
The first is causing many buildbots to fail test runs, and there
are multiple causes with seemingly no immediate prospects for
repairing them. See python-dev discussion.
Note that a branch can (and should) be created for resolving these
problems, like
svn copy svn+ssh://svn.python.org/python/trunk -r46640 svn+ssh://svn.python.org/python/branches/NEW_BRANCH
followed by merging rev 46647 to the new branch.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libthread.tex | 19 | ||||
-rw-r--r-- | Doc/lib/libthreading.tex | 19 |
2 files changed, 0 insertions, 38 deletions
diff --git a/Doc/lib/libthread.tex b/Doc/lib/libthread.tex index 82b04f4..9573ab3 100644 --- a/Doc/lib/libthread.tex +++ b/Doc/lib/libthread.tex @@ -74,25 +74,6 @@ data. Thread identifiers may be recycled when a thread exits and another thread is created. \end{funcdesc} -\begin{funcdesc}{stack_size}{\optional{size}} -Return the thread stack size used when creating new threads. The -optional \var{size} argument specifies the stack size to be used for -subsequently created threads, and must be 0 (use platform or -configured default) or a positive integer value of at least 32,768 (32kB). -If changing the thread stack size is unsupported, or the specified size -is invalid, a \exception{RuntimeWarning} is issued and the stack size is -unmodified. 32kB is currently the minimum supported stack size value, -to guarantee sufficient stack space for the interpreter itself. -Note that some platforms may have particular restrictions on values for -the stack size, such as requiring allocation in multiples of the system -memory page size - platform documentation should be referred to for more -information (4kB pages are common; using multiples of 4096 for the -stack size is the suggested approach in the absence of more specific -information). -Availability: Windows, systems with \POSIX{} threads. -\versionadded{2.5} -\end{funcdesc} - Lock objects have the following methods: diff --git a/Doc/lib/libthreading.tex b/Doc/lib/libthreading.tex index 4982462..8fb3137 100644 --- a/Doc/lib/libthreading.tex +++ b/Doc/lib/libthreading.tex @@ -125,25 +125,6 @@ method is called. \versionadded{2.3} \end{funcdesc} -\begin{funcdesc}{stack_size}{\optional{size}} -Return the thread stack size used when creating new threads. The -optional \var{size} argument specifies the stack size to be used for -subsequently created threads, and must be 0 (use platform or -configured default) or a positive integer value of at least 32,768 (32kB). -If changing the thread stack size is unsupported, or the specified size -is invalid, a \exception{RuntimeWarning} is issued and the stack size is -unmodified. 32kB is currently the minimum supported stack size value, -to guarantee sufficient stack space for the interpreter itself. -Note that some platforms may have particular restrictions on values for -the stack size, such as requiring allocation in multiples of the system -memory page size - platform documentation should be referred to for more -information (4kB pages are common; using multiples of 4096 for the -stack size is the suggested approach in the absence of more specific -information). -Availability: Windows, systems with \POSIX{} threads. -\versionadded{2.5} -\end{funcdesc} - Detailed interfaces for the objects are documented below. The design of this module is loosely based on Java's threading model. |