Re:No-GIL mode coming for Python
by kzrdude on Saturday July 29, 2023 @05:45AM
(#36918531)
I think that's a misconception? At least the way how I understood this issue.
Things like `map[k] = v` would be atomic both before and after nogil, and things like `map[k] += 1` are not atomic even with GIL, the read and store can be split from each other.
Things like `map[k] = v` would be atomic both before and after nogil, and things like `map[k] += 1` are not atomic even with GIL, the read and store can be split from each other.