gh-112087: Make list_{count, index, contains} to be thread-safe. by corona10 · Pull Request #114916 · python/cpython
Conversation
Once the #114843 is merged, I will migrate APIs that both atomic operations and PyList_GetItemRef is needed.
corona10
marked this pull request as ready for review
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me other than the naming of _PyList_GetItemRef.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters