Author: torsten
Date: Mon Feb 13 18:44:17 2012
New Revision: 1243647
URL: http://svn.apache.org/viewvc?rev=1243647&view=rev
Log:
drop unused MP_dTHX and MP_uTHX macros
Modified:
perl/modperl/branches/threading/src/modules/perl/modperl_config.h
Modified: perl/modperl/branches/threading/src/modules/perl/modperl_config.h
URL:
http://svn.apache.org/viewvc/perl/modperl/branches/threading/src/modules/perl/modperl_config.h?rev=1243647&r1=1243646&r2=1243647&view=diff
==============================================================================
--- perl/modperl/branches/threading/src/modules/perl/modperl_config.h (original)
+++ perl/modperl/branches/threading/src/modules/perl/modperl_config.h Mon Feb
13 18:44:17 2012
@@ -126,17 +126,6 @@ void modperl_set_perl_module_config(ap_c
# define MP_dSCFG_dTHX dTHXa(scfg->perl)
#endif
-/* hopefully this macro will not need to be used often */
-#ifdef USE_ITHREADS
-# define MP_dTHX \
- modperl_interp_t *interp = modperl_interp_select(r, NULL, NULL); \
- dTHXa(interp->perl)
-# define MP_uTHX modperl_interp_unselect(interp)
-#else
-# define MP_dTHX dNOOP
-# define MP_uTHX dNOOP
-#endif
-
int modperl_config_apply_PerlModule(server_rec *s,
modperl_config_srv_t *scfg,
PerlInterpreter *perl, apr_pool_t *p);