You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by "Philippe M. Chiasson" <go...@ectoplasm.org> on 2005/05/12 16:23:17 UTC
[PMX:####] Re: [mp2] code unloading
Stas Bekman wrote:
> [let's split this from the VOTE thread and have a dedicated thread]
>
>>>>>>[...]
>>
>>
>> Yup, I am thinking:
>>
>> ModPerl::Util::unload_package_xs()
>> ModPerl::Util::unload_package_pp()
>>
>> and
>> ModPerl::Util::unload_package() as the user-visible, recommended one
>> that just dispatches to _pp for now, until the xs implementation can
>> be fixed (if it can)
>
> go for it.
Checked in as r169826, should have thought of this a long time ago, actually.
Now we are back to where we were before, with the 'redefined' warnings but
no segfaults. Definitely better.
> should probably document the availability of the _xs for the brave ones.
> After all it does work in some cases :0)
Yup, will at least document it exists ;-) And really, the reason it's broken
is because we cache GV's ;-)