3 ms·
While I'm happy to see optional GIL approved and happening, I also suspect that the GIL has saved us from debugging reentrant and/or dangerously concurrent cod
by westurner 3y ago
While I'm happy to see optional GIL approved and happening,
I also suspect that the GIL has saved us from debugging reentrant and/or dangerously concurrent code for years, and I salute the GIL for forcing us to build Arrow for IPC in Python, in particular.
Someday, URI attributes in CPython docstrings might specify which functions are constant time, non re-entrant, functions.
Reentrancy (computing):
https://en.wikipedia.org/wiki/Reentrancy_(computing) https://en.wikipedia.org/wiki/Reentrancy_(computing)
Global Interpreter Lock: https://en.wikipedia.org/wiki/Global_interpreter_lock https://en.wikipedia.org/wiki/Global_interpreter_lock