perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gisle Aas <gi...@activestate.com>
Subject MP_PERL_FREE_THREAD_KEY_WORKAROUND
Date Sun, 16 Jan 2005 10:58:46 GMT
Stas, 

Could you apply this addition to the MP_PERL_FREE_THREAD_KEY_WORKAROUND?
This will avoid that the perl_fini patch now in ActivePerl blows up
because we end up with calling FREE_THREAD_KEY twice.

--Gisle


diff -ru modperl-2.0_20050116053812/src/modules/perl/modperl_perl_includes.h modperl-2.0-hack/src/modules/perl/modperl_perl_includes.h
--- modperl-2.0_20050116053812/src/modules/perl/modperl_perl_includes.h	2005-01-13 06:46:07.000000000
+0100
+++ modperl-2.0-hack/src/modules/perl/modperl_perl_includes.h	2005-01-16 11:51:09.986693975
+0100
@@ -146,6 +146,7 @@
 #define MP_PERL_FREE_THREAD_KEY_WORKAROUND      \
     if (PL_curinterp) {                         \
         FREE_THREAD_KEY;                        \
+        PL_curinterp = NULL;                    \
     }
 #else
 #define MP_PERL_FREE_THREAD_KEY_WORKAROUND


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message