mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.13] Fix typos in comments (GH-120481) (#120774)
(cherry picked from commit 656a1c8108
)
Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
This commit is contained in:
parent
6b714d545f
commit
5d194902cb
4 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
* Implementation of safe memory reclamation scheme using
|
||||
* quiescent states.
|
||||
*
|
||||
* This is dervied from the "GUS" safe memory reclamation technique
|
||||
* This is derived from the "GUS" safe memory reclamation technique
|
||||
* in FreeBSD written by Jeffrey Roberson. It is heavily modified. Any bugs
|
||||
* in this code are likely due to the modifications.
|
||||
*
|
||||
|
@ -238,7 +238,7 @@ _Py_qsbr_unregister(PyThreadState *tstate)
|
|||
struct _PyThreadStateImpl *tstate_imp = (_PyThreadStateImpl*) tstate;
|
||||
|
||||
// gh-119369: GIL must be released (if held) to prevent deadlocks, because
|
||||
// we might not have an active tstate, which means taht blocking on PyMutex
|
||||
// we might not have an active tstate, which means that blocking on PyMutex
|
||||
// locks will not implicitly release the GIL.
|
||||
assert(!tstate->_status.holds_gil);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue