Essentially, we should check the thread ID rather than the thread state pointer.
--disable-gil
Miscellaneous source files for the main Python shared library