Re: [ID 20000118.004] DynaLoader doesn't dlclose XS code on interpreter

2000-01-26 Thread Daniel Jacobowitz

On Wed, Jan 26, 2000 at 04:06:29PM +, Alan Burlison wrote:
 Gurusamy Sarathy wrote:
 
  Scheduling dlclose()s using call_atexit() ought to work.  I'm going
  to let the interested parties test that and send me a patch.
 
 Is anyone up for this?  I'm in the US this week, so I'm not able to
 contribute much (plus I'd probably just break something ;-)  Gurusamay,
 do you have a timescale for when you need this?

I'll try to do it this weekend, or else if I get bored during
LinuxWorld Expo :)

Dan

/\  /\
|   Daniel Jacobowitz|__|SCS Class of 2002   |
|   Debian GNU/Linux Developer__Carnegie Mellon University   |
| [EMAIL PROTECTED] |  |   [EMAIL PROTECTED]  |
\/  \/



Re: [ID 20000118.004] DynaLoader doesn't dlclose XS code on interpreter

2000-01-19 Thread Doug MacEachern

 Unfortunately I can't actually get mod_perl + a load of other stuff to
 build on 5.005_63, so I can't see if it cures the mod_perl problem.

you need modperl from cvs to use 5.005_62+
http://perl.apache.org/from-cvs/
 
 Could a DynaLoader guru have a quick look at the patch and let me know
 if it is complete garbage?
 
 I have backported the patch to 5.005_03, and it appears that mod_perl
 doesn't actually destroy the perl interpreter correctly when Apache does
 a restart.

this wasn't a mistake at the time.  there was no Apache dso and
perl_destruct() was buggy, so mod_perl chose to only boot the interpreter
once at startup and restarts became a noop for mod_perl, with the
exception of "PerlFreshRestart", which just reloads %INC and flushes the
Apache::Registry cache.

I plan to revisit that along with the patches sometime within the next few
days.