perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gisle Aas <gi...@activestate.com>
Subject Re: MP_PERL_FREE_THREAD_KEY_WORKAROUND
Date Mon, 17 Jan 2005 08:23:54 GMT
Eric Cholet <cholet@logilune.com> writes:

> > 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

This sounds suspicions to me.  Doesn't this mean that
MP_PERL_FREE_THREAD_KEY_WORKAROUND runs twice in this setup.  Can you
explain why this would happen?

--Gisle


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


Mime
View raw message