mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix typos (#123775)
(cherry picked from commit 9017b95ff2
)
Co-authored-by: algonell <algonell@gmail.com>
This commit is contained in:
parent
2a40dda89d
commit
d432fa43b9
42 changed files with 58 additions and 58 deletions
|
@ -314,8 +314,8 @@ thread_run(void *boot_raw)
|
|||
// gh-108987: If _thread.start_new_thread() is called before or while
|
||||
// Python is being finalized, thread_run() can called *after*.
|
||||
// _PyRuntimeState_SetFinalizing() is called. At this point, all Python
|
||||
// threads must exit, except of the thread calling Py_Finalize() whch holds
|
||||
// the GIL and must not exit.
|
||||
// threads must exit, except of the thread calling Py_Finalize() which
|
||||
// holds the GIL and must not exit.
|
||||
//
|
||||
// At this stage, tstate can be a dangling pointer (point to freed memory),
|
||||
// it's ok to call _PyThreadState_MustExit() with a dangling pointer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue