Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Attempt to fix code blocks
  • Loading branch information
markshannon committed Sep 8, 2025
commit c5759cc8837c47f515bcf25f4829a11ce7960cd9
2 changes: 2 additions & 0 deletions peps/pep-0804.rst
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ although larger than for the default (with GIL) build.

A possible object header:
.. code-block:: C

uint32_t ref_count_local;
uint32_t ref_count_shared; // For biased reference counting
uint32_t owner_id;
Expand All @@ -492,6 +493,7 @@ A possible object header:

or if we use atomic reference counting for non-local objects, we can use pointers for owners:
.. code-block:: C

uintptr_t owner;
uint32_t ref_count;
uint8_t shared_state;
Expand Down
Loading