httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject svn commit: r393028 - /httpd/httpd/trunk/modules/ldap/util_ldap.c
Date Mon, 10 Apr 2006 19:24:36 GMT
Author: gregames
Date: Mon Apr 10 12:24:33 2006
New Revision: 393028

URL: http://svn.apache.org/viewcvs?rev=393028&view=rev
Log:
expand on a comment for a rather subtle line of code so I have a chance of
understanding how it helps in the future

Modified:
    httpd/httpd/trunk/modules/ldap/util_ldap.c

Modified: httpd/httpd/trunk/modules/ldap/util_ldap.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/ldap/util_ldap.c?rev=393028&r1=393027&r2=393028&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ldap/util_ldap.c (original)
+++ httpd/httpd/trunk/modules/ldap/util_ldap.c Mon Apr 10 12:24:33 2006
@@ -1757,7 +1757,9 @@
     util_ldap_state_t *st =
         (util_ldap_state_t *)apr_pcalloc(p, sizeof(util_ldap_state_t));
 
-    /* Create a pool for mod_ldap to use */
+    /* Create a per vhost pool for mod_ldap to use, serialized with 
+     * st->mutex (also one per vhost) 
+     */
     apr_pool_create(&st->pool, p);
 #if APR_HAS_THREADS
     apr_thread_mutex_create(&st->mutex, APR_THREAD_MUTEX_DEFAULT, st->pool);



Mime
View raw message