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] note the pending deprecation of apr_lock.h API
Date Fri, 15 Feb 2002 16:37:39 GMT
On Fri, Feb 15, 2002 at 08:21:20AM -0800, Justin Erenkrantz wrote:
> On Fri, Feb 15, 2002 at 07:57:07AM -0800, Aaron Bannert wrote:
> > How do we feel about this? If (vote < 0), please provide an alternative
> > solution.
> IMHO, the better solution is to convert any remaining locks and
> remove this old API entirely.  We've been hinting that they are
> doomed for a while.  -- justin

I can see that happening eventually, but we are still in that between
period where the new API has complete parts (except apr_global_mutex_t,
coming soon); but not all applications are using the new API. Even over
the last month or two since I wrote the first set of new lock APIs I've
seen new uses of apr_lock.h. I try to point this out when I see them,
but I don't have much visibility of APR outside of httpd and flood. This
patch makes it obvious what APIs are going away, and what new ones should
be used instead.


View raw message