Le 16 janv. 05, � 11:58, Gisle Aas a �crit :
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
also fixes darwin w/ threaded Perl + worker
-- Eric Cholet
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
