Justin Erenkrantz wrote: > > I need some handholding with the porting of some of the auth_ldap code > > from v1.3 to v2.0. > > > > In the v1.3 code, I have locks being created like this: > > > > mtx = ap_create_mutex(NULL); > > GET_MUTEX(mtx); > > RELMUTEX(mtx); > > apr_lock_create(&mtx, APR_MUTEX, APR_INTRAPROCESS, NULL, pool); > apr_lock_acquire(mtx); > apr_lock_release(mtx); > > This is for a intraprocess mutex. The flags in apr_lock.h can tell you > how to do other types of locks.
What is the difference between a APR_MUTEX lock and an APR_READWRITE
lock?
Regards,
Graham
--
-----------------------------------------
[EMAIL PROTECTED] "There's a moon
over Bourbon Street
tonight..."
smime.p7s
Description: S/MIME Cryptographic Signature
