apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r794508 - in /apr/apr/trunk/include: apr_memcache.h apr_reslist.h
Date Thu, 16 Jul 2009 03:37:08 GMT
Author: bojan
Date: Thu Jul 16 03:37:07 2009
New Revision: 794508

URL: http://svn.apache.org/viewvc?rev=794508&view=rev
Log:
Document how ttl is specified for reslist and memcache.

Modified:
    apr/apr/trunk/include/apr_memcache.h
    apr/apr/trunk/include/apr_reslist.h

Modified: apr/apr/trunk/include/apr_memcache.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_memcache.h?rev=794508&r1=794507&r2=794508&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_memcache.h (original)
+++ apr/apr/trunk/include/apr_memcache.h Thu Jul 16 03:37:07 2009
@@ -209,7 +209,7 @@
  * @param min  minimum number of client sockets to open
  * @param smax soft maximum number of client connections to open
  * @param max  hard maximum number of client connections
- * @param ttl  time to live in seconds of a client connection
+ * @param ttl  time to live in microseconds of a client connection
  * @param ns   location of the new server object
  * @see apr_reslist_create
  * @remark min, smax, and max are only used when APR_HAS_THREADS

Modified: apr/apr/trunk/include/apr_reslist.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_reslist.h?rev=794508&r1=794507&r2=794508&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_reslist.h (original)
+++ apr/apr/trunk/include/apr_reslist.h Thu Jul 16 03:37:07 2009
@@ -72,8 +72,8 @@
  * @param smax Resources will be destroyed to meet this maximum
  *             restriction as they expire.
  * @param hmax Absolute maximum limit on the number of total resources.
- * @param ttl If non-zero, sets the maximum amount of time a resource
- *               may be available while exceeding the soft limit.
+ * @param ttl If non-zero, sets the maximum amount of time in microseconds a
+ *            resource may be available while exceeding the soft limit.
  * @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