File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ struct _Py_long_state {
4444struct _stoptheworld_state {
4545 PyMutex mutex ; // Serializes stop-the-world attempts.
4646
47- // NOTE: The below fields are protected by HEAD_LOCK(runtime), not by the
47+ // NOTE: The fields below are protected by HEAD_LOCK(runtime), not by the
4848 // above mutex.
4949 bool requested ; // Set when a pause is requested.
5050 bool world_stopped ; // Set when the world is stopped.
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ extern void _PyThreadState_Detach(PyThreadState *tstate);
154154// "attached" state.
155155extern void _PyThreadState_Park (PyThreadState * tstate );
156156
157- // Perform a stop-the-world pause for all threads in the all interpreters.
157+ // Perform a stop-the-world pause for all threads in all interpreters.
158158//
159159// Threads in the "attached" state are paused and transitioned to the "GC"
160160// state. Threads in the "detached" state switch to the "GC" state, preventing
You can’t perform that action at this time.
0 commit comments