mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
bpo-31370: Remove references to threadless builds (#8805)
Support for threadless builds was removed in a6a4dc81.
This commit is contained in:
parent
508d820512
commit
eef059657d
4 changed files with 10 additions and 19 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue