apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
Subject Re: Reader/writer locks?
Date Sat, 28 Apr 2001 15:14:35 GMT

They are waiting for somebody to have the time to implement them.

Ryan

On Fri, 27 Apr 2001, Justin Erenkrantz wrote:

> Are reader/writer locks implemented in APR?
>
> In include/apr_lock.h:
>
> typedef enum {APR_MUTEX, APR_READWRITE} apr_locktype_e;
>
> I don't see any use of apr_locktype_e in APR (besides the definition
> in the apr_lock_t structure).  Are we just waiting for someone to
> implement APR_READWRITE?  Is everything right now essentially acting
> as APR_MUTEX (regardless of what you pass in)?
>
> It'd require a new apr_lock_acquire function in apr_locks.h...  I can
> probably implement this for POSIX-compliant systems - I don't have a
> clue for other architectures.  -- justin
>
>


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message