[EMAIL PROTECTED] wrote:
> 
[...]
> 
>   +    if (initialized) {
>   +        return APR_SUCCESS;
>   +    }
>   +    initialized++;
>   +

Oooops...this only counts to 1.  Works OK when there's at most 2 APR
users, but what if there are 3?  We don't want to destroy locks when the
second user goes away.  How about:

  if (initialized++) {
      return APR_SUCCESS;

Greg

Reply via email to