add PERL_NO_GET_CONTEXT to xs template in h2xs.PL
authorDaniel Dragan <bulk88@hotmail.com>
Thu, 6 Dec 2012 04:39:44 +0000 (23:39 -0500)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 6 Dec 2012 05:31:42 +0000 (21:31 -0800)
commit3ee084aa8474e0a47583aee63a88beeea5d4742f
treeea825e325ec7ae813bd0b2d177ebeea58df512c3
parent230834321e308444d408bdbf755d181b67e82d4c
add PERL_NO_GET_CONTEXT to xs template in h2xs.PL

An XS module not using PERL_NO_GET_CONTEXT is extremely inefficient under
threaded Perls. Prevent PERL_NO_GET_CONTEXT-less modules in the future
by making it a default. Many XS modules are created with h2xs.
Also see this anonymous complaint http://perlmonks.org/?node_id=990732 .
utils/h2xs.PL