Re: solution for DL's using atexit()

From: Date: Wed, 21 Jan 2004 11:42:44 +0000
Subject: Re: solution for DL's using atexit()
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-7233@lists.php.net to get a copy of this message
I don't know if we should get into this. Do we *really* care if we crash on exit?
Are you serious ?? Of course we care about segfaults, don't we, even if it's 'only' on exit ??
We are talking about MSHUTDOWN not RSHUTDOWN here. It's not an
Depends if you use dl() or load from php.ini. If loaded by dl(), it will segfault on every request.
ideal situation but I wouldn't want screw things in PHP just for these dumb shared libraries :)
Actually, I've already committed a patch which will omit the dlclose() call. This means the module will not be available if you do not dl() it on every request, but it won't be dlclose()'d after you've loaded it once. Note that this will only affect users who have the interbase.so and actually use it. -- Ard

« previous php.internals (#7233) next »