3 ms·
Those would have to remain atomic by taking explicit more granular locks.
by dontlaugh 4y ago
Those would have to remain atomic by taking explicit more granular locks.
- masklinn 4y agoObviously? But the point is currently they do work, they are thread-safe and they are correct in the strictest sense of the word, per-FAQ: https://docs.python.org/3/faq/library.html#what-kinds-of-global-value-mutation-are-thread-safe https://docs.python.org/3/faq/library.html#what-kinds-of-glo... So as the original commenter notes: > wouldn't removing the GIL cause all sorts of sudden race conditions and regressions in existing python code?