Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
Joe, this still needs to applied? But please make sure that you
restore the context when you are done with it. Look at the other
places where this is done (grep for SET_CONTEXT).
AFAICT the only place where the context is "localized" is in modperl_cmd.c:
#define MP_PERL_DECLARE_CONTEXT \
PerlInterpreter *orig_perl; \
pTHX;
/* XXX: .htaccess support cannot use this perl with threaded MPMs */
#define MP_PERL_OVERRIDE_CONTEXT \
orig_perl = PERL_GET_CONTEXT; \
aTHX = scfg->mip->parent->perl; \
PERL_SET_CONTEXT(aTHX);
#define MP_PERL_RESTORE_CONTEXT \
PERL_SET_CONTEXT(orig_perl);
Is that what you have in mind here?
Exactly.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]