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:29:45 GMT
So are you saying that we should not ever automatically destroy
locks in cleanups?


On Tuesday, November 19, 2002, at 08:59  AM, <rbb@rkbloom.net> wrote:
> This would be a bad design change IMNSHO.  The library has no business
> deciding when a mutex is destroyed, that is the role of the application
> that created the mutex.  It isn't too hard to imagine a situation 
> where a
> mutex is created in the parent process, but the child processes are the
> only ones that know anything at all about when it is safe to destroy 
> it.
> The app must be the thing that decides when to close the mutex.
> Ryan

View raw message