]> granicus.if.org Git - apache/commitdiff
expand on a comment for a rather subtle line of code so I have a chance of
authorGreg Ames <gregames@apache.org>
Mon, 10 Apr 2006 19:24:33 +0000 (19:24 +0000)
committerGreg Ames <gregames@apache.org>
Mon, 10 Apr 2006 19:24:33 +0000 (19:24 +0000)
understanding how it helps in the future

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@393028 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap.c

index a0df341207350b4bf59d908ccfa27919a3af6ff3..d00f429482138617de7a4f5d4b59bd6d4ecdea53 100644 (file)
@@ -1757,7 +1757,9 @@ static void *util_ldap_create_config(apr_pool_t *p, server_rec *s)
     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);