diff options
author | Zackery Spytz <zspytz@gmail.com> | 2018-09-29 16:07:11 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2018-09-29 16:07:11 (GMT) |
commit | eef059657d6b10babdb4831e1148d60cc644ee9a (patch) | |
tree | 652e15fa0231948d3d14d35a0a922fb56ff273de /Doc | |
parent | 508d8205121868ef24cca99f1f952558b1ff2f2e (diff) | |
download | cpython-eef059657d6b10babdb4831e1148d60cc644ee9a.zip cpython-eef059657d6b10babdb4831e1148d60cc644ee9a.tar.gz cpython-eef059657d6b10babdb4831e1148d60cc644ee9a.tar.bz2 |
bpo-31370: Remove references to threadless builds (#8805)
Support for threadless builds was removed in a6a4dc81.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/init.rst | 16 | ||||
-rw-r--r-- | Doc/library/queue.rst | 4 |
2 files changed, 9 insertions, 11 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 694b466..e51a255 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -842,18 +842,18 @@ code, or when embedding the Python interpreter: .. c:function:: PyThreadState* PyEval_SaveThread() - Release the global interpreter lock (if it has been created and thread - support is enabled) and reset the thread state to *NULL*, returning the - previous thread state (which is not *NULL*). If the lock has been created, - the current thread must have acquired it. + Release the global interpreter lock (if it has been created) and reset the + thread state to *NULL*, returning the previous thread state (which is not + *NULL*). If the lock has been created, the current thread must have + acquired it. .. c:function:: void PyEval_RestoreThread(PyThreadState *tstate) - Acquire the global interpreter lock (if it has been created and thread - support is enabled) and set the thread state to *tstate*, which must not be - *NULL*. If the lock has been created, the current thread must not have - acquired it, otherwise deadlock ensues. + Acquire the global interpreter lock (if it has been created) and set the + thread state to *tstate*, which must not be *NULL*. If the lock has been + created, the current thread must not have acquired it, otherwise deadlock + ensues. .. c:function:: PyThreadState* PyThreadState_Get() diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst index 1520faa..6106d0c 100644 --- a/Doc/library/queue.rst +++ b/Doc/library/queue.rst @@ -11,9 +11,7 @@ The :mod:`queue` module implements multi-producer, multi-consumer queues. It is especially useful in threaded programming when information must be exchanged safely between multiple threads. The :class:`Queue` class in this -module implements all the required locking semantics. It depends on the -availability of thread support in Python; see the :mod:`threading` -module. +module implements all the required locking semantics. The module implements three types of queue, which differ only in the order in which the entries are retrieved. In a :abbr:`FIFO (first-in, first-out)` |