Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> How is the GIL different from atomics in other languages?

Atomics are isolated to where they are needed, the GIL is global though C (but not Python) code can release it.



My question was about from a program correctness standpoint, not an efficiency standpoint. But it does look there is a difference from a correctness standpoint, as other comments address.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: