summaryrefslogtreecommitdiff
path: root/srclib/apr-util/include/apr_reslist.h
diff options
context:
space:
mode:
authorStefan Fritsch <sf@sfritsch.de>2011-12-27 19:43:04 +0100
committerStefan Fritsch <sf@sfritsch.de>2011-12-27 19:43:04 +0100
commit498ea95018b369e62646a98c7d7d5413b56e170c (patch)
treeb7c4798010bbb18d4d2c07f722d7fb0d38efd24c /srclib/apr-util/include/apr_reslist.h
parente8bb7adda7f73e53cdab823e9cab2a49ccbdf188 (diff)
downloadapache2-498ea95018b369e62646a98c7d7d5413b56e170c.tar.gz
Upstream tarball 2.2.17upstream/2.2.17
Diffstat (limited to 'srclib/apr-util/include/apr_reslist.h')
-rw-r--r--srclib/apr-util/include/apr_reslist.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/srclib/apr-util/include/apr_reslist.h b/srclib/apr-util/include/apr_reslist.h
index 76a18648..273f7dd1 100644
--- a/srclib/apr-util/include/apr_reslist.h
+++ b/srclib/apr-util/include/apr_reslist.h
@@ -70,11 +70,13 @@ typedef apr_status_t (*apr_reslist_destructor)(void *resource, void *params,
* list will be stored.
* @param min Allowed minimum number of available resources. Zero
* creates new resources only when needed.
- * @param smax Resources will be destroyed to meet this maximum
- * restriction as they expire.
+ * @param smax Resources will be destroyed during reslist maintenance to
+ * meet this maximum restriction as they expire (reach their ttl).
* @param hmax Absolute maximum limit on the number of total resources.
- * @param ttl If non-zero, sets the maximum amount of time in microseconds a
- * resource may be available while exceeding the soft limit.
+ * @param ttl If non-zero, sets the maximum amount of time in microseconds an
+ * unused resource is valid. Any resource which has exceeded this
+ * time will be destroyed, either when encountered by
+ * apr_reslist_acquire() or during reslist maintenance.
* @param con Constructor routine that is called to create a new resource.
* @param de Destructor routine that is called to destroy an expired resource.
* @param params Passed to constructor and deconstructor