NO_XSLOCKS
allows the usage of some error checking macros in XS code when combined with #include XSUB.h
. However, its use seems to go beyond that. It was recently suggested that I add it to my XS file for better compatibility with ActiveState perl, with this issue given as an example.
What else does #define NO_XSLOCKS
do, and when should I use it in my XS code?