[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: MakeMaker change needed to fix Apache/mod_perl coredumps



Alan Burlison writes:
> > Which just says we need a 'hint' file for old systems like SunOS4,
> > but at the time this got implemented SunOS was very common.

> Seems fair enough to me.  I think perhaps the 'proper' fix is to add
> functonality to DynaLoader to unload .so files.  

If you remember the initial discussion (circa 5.000a11?) the absense
of unload() is a conscious design decision.  For the reason, see your
next sentence.

>						   The problem is though,
> what do you do with any associated .pm code?  Perl doesn't support
> 'unrequire' or 'unuse', so simply dlclos'ing the .so isn't the whole
> answer.

Moreover, suppose somebody associated XS_Foo__bar() with main::baz().
What would you do?  Or some tied SVs are tied to static C arrays
defined in .so?

Ilya


References to:
Alan Burlison <Alan.Burlison@uk.sun.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]