perlguts describes how the pTHX_ macro changes the number of arguments declared for public functions, depending on whether threading is enabled. There is no binary compatibility, the linker will choke.
After Compline, Zaxo
Comment on Re: Can threaded and non threaded perl share the same compiled modules?