On Mon, Jul 30, 2001 at 11:39:01PM +0200, Graham Leggett wrote: > Hi all, > > 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. HTH. -- justin
