[Solved] Why GIL is not synchrionizing Python threads that are running native C++ code inside a DLL?
From [Python 3]: ctypes – Loading shared libraries (emphasis is mine; thanks @user2357112 for pointing out this very explicit quote (waay better than what I’ve originally posted)): The Python global interpreter lock is released before calling any function exported by these libraries, and reacquired afterwards. You can also find this statement in other forms on … Read more