apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: [PATCH] Default tagging of pools in debug mode
Date Sun, 13 Jan 2002 03:05:31 GMT
> From: Sander Striker [mailto:striker@apache.org]
> Subject: RE: [PATCH] Default tagging of pools in debug mode
> 
>> Hi,
>> 
>> We are doing something similar in subversion.  It might be
>> useful to add this.  However, this will screw up stats and
>> memory usage output (and it will ofcourse only work in
>> when APR_POOL_DEBUG is defined).
>> 
>> Thoughts?
> 
> Yes, this won't work.  The first time apr_pool_clear is
> called, we end up with a bad tag pointer.  Ideas welcome.
> A 'tag pool' (child of global_pool)?

Nevermind.  I just thought of a good solution.  I'll commit
it tomorrow.  First: apr_sleep(18000 * APR_USECS_PER_SEC);

Sander

Mime
View raw message