On Sat, Feb 16, 2002 at 09:57:17PM -0000, [EMAIL PROTECTED] wrote:
> brianp      02/02/16 13:57:17
> 
>   Modified:    modules/mappers mod_rewrite.c
>   Log:
>   Converted the rewrite mapper lock to the new lock API

Did mod_rewrite actually need a LOCKALL? If so, apr_proc_mutex_t
is an insufficient replacement, since it can not guarantee mutual
exclusion of threads in the same process.

-aaron

>   -    rc = apr_lock_create(&rewrite_mapr_lock_acquire, APR_MUTEX, APR_LOCKALL, 
>   -                         APR_LOCK_DEFAULT, lockname, p);
>   +    rc = apr_proc_mutex_create(&rewrite_mapr_lock_acquire, lockname,
>   +                               APR_LOCK_DEFAULT, p);

Reply via email to