You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by yl...@apache.org on 2015/03/20 00:51:04 UTC

svn commit: r1667903 - in /apr/apr/trunk/include: apr_global_mutex.h apr_proc_mutex.h apr_thread_mutex.h

Author: ylavic
Date: Thu Mar 19 23:51:03 2015
New Revision: 1667903

URL: http://svn.apache.org/r1667903
Log:
Follow up to r1667900: fix comments.

Modified:
    apr/apr/trunk/include/apr_global_mutex.h
    apr/apr/trunk/include/apr_proc_mutex.h
    apr/apr/trunk/include/apr_thread_mutex.h

Modified: apr/apr/trunk/include/apr_global_mutex.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_global_mutex.h?rev=1667903&r1=1667902&r2=1667903&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_global_mutex.h (original)
+++ apr/apr/trunk/include/apr_global_mutex.h Thu Mar 19 23:51:03 2015
@@ -114,8 +114,8 @@ APR_DECLARE(apr_status_t) apr_global_mut
  * Attempt to acquire the lock for the given mutex until timeout expires.
  * If the acquisition time outs, the call returns with APR_TIMEUP.
  * @param mutex the mutex on which to attempt the lock acquiring.
- * @param timeout the absolute (non 0) or relative (0) timeout
- * @param absolute whether the timeout given is absolute or relative
+ * @param timeout the absolute time or relative timeout (microseconds)
+ * @param absolute whether the timeout given is absolute (!0) or relative (0)
  */
 APR_DECLARE(apr_status_t) apr_global_mutex_timedlock(apr_global_mutex_t *mutex,
                                                      apr_time_t timeout,

Modified: apr/apr/trunk/include/apr_proc_mutex.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_proc_mutex.h?rev=1667903&r1=1667902&r2=1667903&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_proc_mutex.h (original)
+++ apr/apr/trunk/include/apr_proc_mutex.h Thu Mar 19 23:51:03 2015
@@ -119,8 +119,8 @@ APR_DECLARE(apr_status_t) apr_proc_mutex
  * Attempt to acquire the lock for the given mutex until timeout expires.
  * If the acquisition time outs, the call returns with APR_TIMEUP.
  * @param mutex the mutex on which to attempt the lock acquiring.
- * @param timeout the absolute (non 0) or relative (0) timeout
- * @param absolute whether the timeout given is absolute or relative
+ * @param timeout the absolute time or relative timeout (microseconds)
+ * @param absolute whether the timeout given is absolute (!0) or relative (0)
  */
 APR_DECLARE(apr_status_t) apr_proc_mutex_timedlock(apr_proc_mutex_t *mutex,
                                                    apr_time_t timeout,

Modified: apr/apr/trunk/include/apr_thread_mutex.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_thread_mutex.h?rev=1667903&r1=1667902&r2=1667903&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_thread_mutex.h (original)
+++ apr/apr/trunk/include/apr_thread_mutex.h Thu Mar 19 23:51:03 2015
@@ -87,8 +87,8 @@ APR_DECLARE(apr_status_t) apr_thread_mut
  * Attempt to acquire the lock for the given mutex until timeout expires.
  * If the acquisition time outs, the call returns with APR_TIMEUP.
  * @param mutex the mutex on which to attempt the lock acquiring.
- * @param timeout the absolute (non 0) or relative (0) timeout
- * @param absolute whether the timeout given is absolute or relative
+ * @param timeout the absolute time or relative timeout (microseconds)
+ * @param absolute whether the timeout given is absolute (!0) or relative (0)
  */
 APR_DECLARE(apr_status_t) apr_thread_mutex_timedlock(apr_thread_mutex_t *mutex,
                                                      apr_time_t timeout,