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?

-- 
Joe Schaefer


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to