We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f608211 commit d619387Copy full SHA for d619387
Doc/c-api/memory.rst
@@ -484,12 +484,12 @@ Customize Memory Allocators
484
zero bytes.
485
486
For the :c:macro:`PYMEM_DOMAIN_RAW` domain, the allocator must be
487
- thread-safe: the :term:`GIL <global interpreter lock>` is not held when the
+ thread-safe: a :term:`thread state` is not held when the
488
allocator is called.
489
490
For the remaining domains, the allocator must also be thread-safe:
491
the allocator may be called in different interpreters that do not
492
- share a ``GIL``.
+ share a :term:`GIL`.
493
494
If the new allocator is not a hook (does not call the previous allocator),
495
the :c:func:`PyMem_SetupDebugHooks` function must be called to reinstall the
0 commit comments