perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] pools that go out of scope aren't a problem anymore?
Date Sat, 18 Dec 2004 16:19:36 GMT
Joe Schaefer wrote:
> Stas Bekman <stas@stason.org> writes:
> 
> 
> [...]
> 
> 
>>in fact the only reason modperl_hash_tie calls sv_magic is to assign some
>>flags, may be it can be eliminated completely. I haven't looked at the other
>>places where it is used. Why do you think the order matters, if it doesn't
>>really use that magic via mg_find.
> 
> 
> Certainly we don't ever need/want to mg_find() the magic from
> mpxs_APR__Table_make.  I don't know enough about the modperl_hash_tie 
> magic to say it's never needed either, so I definitely trust your 
> judgement about it.

I'll work on that.

BTW, with --enable-pool-debug CPPFLAGS="-DAPR_BUCKET_DEBUG", an existing 
test t/apr-ext/threadmutex.t segfault for the same reason under perl 5.6.x 
-- the pool goes out of scope before the mutex is destroyed.


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message