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 d0afb11 commit bbdcd83Copy full SHA for bbdcd83
Doc/c-api/typeobj.rst
@@ -3126,9 +3126,9 @@ Buffer Object Structures
3126
3127
* The export counter decrement in step (1) must be atomic.
3128
3129
- * Resource cleanup when the counter reaches zero must be reentrant,
+ * Resource cleanup when the counter reaches zero must be done atomically,
3130
as the final release may race with concurrent releases from other
3131
- threads.
+ threads and dellocation must only happen once.
3132
3133
The exporter MUST use the :c:member:`~Py_buffer.internal` field to keep
3134
track of buffer-specific resources. This field is guaranteed to remain
0 commit comments