apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: [PATCH] Re: apr_proc_mutex is broken
Date Wed, 20 Nov 2002 04:37:25 GMT

On Tuesday, November 19, 2002, at 12:02  PM, Philip Martin wrote:
> I think the current pool cleanup handler is a mistake.  The handler
> should cleanup only those resources local to the process, leaving the
> proc_mutex in a working state.

This is how it is now, only that when we use fork(), all the cleanups
in the parent are magically inherited in the children. We should simply
just not register cleanups for mutexes, as you say here:

>   It should be the application's
> responsibility to call (or fail to call :) apr_proc_mutex_destroy at
> the appropriate place.



View raw message