summaryrefslogtreecommitdiffstats
path: root/Python/qsbr.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/qsbr.c')
-rw-r--r--Python/qsbr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/qsbr.c b/Python/qsbr.c
index a732115..a40219a 100644
--- a/Python/qsbr.c
+++ b/Python/qsbr.c
@@ -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);