apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1000994 - /apr/apr-util/branches/1.3.x/include/apr_reslist.h
Date Fri, 24 Sep 2010 17:39:45 GMT
Author: trawick
Date: Fri Sep 24 17:39:44 2010
New Revision: 1000994

URL: http://svn.apache.org/viewvc?rev=1000994&view=rev
Log:
merge apr trunk r1000850

update apr_reslist_create() doc to reflect that ttl is honored absolutely
and smax has a more subtle role

Reviewed by: rpleum

Modified:
    apr/apr-util/branches/1.3.x/include/apr_reslist.h

Modified: apr/apr-util/branches/1.3.x/include/apr_reslist.h
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/include/apr_reslist.h?rev=1000994&r1=1000993&r2=1000994&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/include/apr_reslist.h (original)
+++ apr/apr-util/branches/1.3.x/include/apr_reslist.h Fri Sep 24 17:39:44 2010
@@ -70,11 +70,13 @@ typedef apr_status_t (*apr_reslist_destr
  *                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



Mime
View raw message