Re:Data races in Python, despite the Global Interpreter Lock
by nyanpasu64 on Monday February 21, 2022 @05:20PM
(#30421442)
If only one thread is reading or writing the counter at a time, and holds the GIL while doing so, it's not a data race, but a mutex which fails to ensure the atomicity of the read-modify-write operation:
[ Parent
| on HN ]
There are no comments on this comment yet.