Skip to content

Commit 78af3bd

Browse files
Mention _PyTrash_thread_deposit_object and _PyTrash_thread_destroy_chain
1 parent dff746f commit 78af3bd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Include/cpython/pystate.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,10 @@ struct _ts {
158158
unsigned long native_thread_id;
159159

160160
/* List of objects that still need to be cleaned up, singly linked
161-
* via their gc headers' gc_next pointers. */
161+
* via their gc headers' gc_next pointers. The list is populated by
162+
* _PyTrash_thread_deposit_object and cleaned up by
163+
* _PyTrash_thread_destroy_chain.
164+
*/
162165
PyObject *delete_later;
163166

164167
/* Tagged pointer to top-most critical section, or zero if there is no

0 commit comments

Comments
 (0)