On Thu, Jul 29, 1999, Tran Duc Trung wrote:

> > > ap_acquire_mutex() returns 0 (zero) if it succeeds, not TRUE/FALSE.
> > > 
> > > Patch follows
> > > 
> > > ---8<---
> > > @@ -336,7 +336,7 @@
> > >      rc = semop(mc->nMutexSEMID, sb, 2);
> > >  #endif
> > >  #ifdef SSL_HAVE_W32SEM
> > > -    rc = ap_acquire_mutex((mutex *)mc->nMutexSEMID);
> > > +    rc = (0 == ap_acquire_mutex((mutex *)mc->nMutexSEMID)); /* 1999-07-29 trung
> > > */
> > >  #endif
> > >  #endif
> > >      return rc;
> > 
> > Thanks, fixed this way for 2.3.11.
> > BTW, what about ap_release_mutex()? Is it here correct?
> 
> Yes, it is. Here the return code is TRUE/FALSE. The function is
> mapped to
> 
> BOOL ReleaseMutex(HANDLE hMutex);

Ohh... one more Apache API corner which is inconsistent.... :-(
Ok, good to know. Thanks for point this out.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to