From: Greg Ames Date: Mon, 10 Apr 2006 19:24:33 +0000 (+0000) Subject: expand on a comment for a rather subtle line of code so I have a chance of X-Git-Tag: 2.3.0~2462 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1fbc27d1af1d04d7f2941417d5d444dac0d4517;p=apache expand on a comment for a rather subtle line of code so I have a chance of 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 --- diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index a0df341207..d00f429482 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -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);