bpo-31370: Remove references to threadless builds (#8805)

Support for threadless builds was removed in a6a4dc81.
This commit is contained in:
Zackery Spytz 2018-09-29 10:07:11 -06:00 committed by Brian Curtin
parent 508d820512
commit eef059657d
4 changed files with 10 additions and 19 deletions

View file

@ -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()