apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1790521 - in /apr/apr/trunk: include/ locks/beos/ locks/netware/ locks/os2/ locks/unix/ locks/win32/
Date Fri, 07 Apr 2017 08:36:27 GMT
Author: ylavic
Date: Fri Apr  7 08:36:27 2017
New Revision: 1790521

URL: http://svn.apache.org/viewvc?rev=1790521&view=rev
Log:
locks: follow up to r1790488.

Make it clear in the type that it's a relative/interval time.


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
    apr/apr/trunk/locks/beos/proc_mutex.c
    apr/apr/trunk/locks/beos/thread_mutex.c
    apr/apr/trunk/locks/netware/proc_mutex.c
    apr/apr/trunk/locks/netware/thread_mutex.c
    apr/apr/trunk/locks/os2/proc_mutex.c
    apr/apr/trunk/locks/os2/thread_mutex.c
    apr/apr/trunk/locks/unix/global_mutex.c
    apr/apr/trunk/locks/unix/proc_mutex.c
    apr/apr/trunk/locks/unix/thread_mutex.c
    apr/apr/trunk/locks/win32/proc_mutex.c
    apr/apr/trunk/locks/win32/thread_mutex.c

Modified: apr/apr/trunk/include/apr_global_mutex.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_global_mutex.h?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_global_mutex.h (original)
+++ apr/apr/trunk/include/apr_global_mutex.h Fri Apr  7 08:36:27 2017
@@ -117,7 +117,7 @@ APR_DECLARE(apr_status_t) apr_global_mut
  * @param timeout the relative timeout (microseconds)
  */
 APR_DECLARE(apr_status_t) apr_global_mutex_timedlock(apr_global_mutex_t *mutex,
-                                                     apr_time_t timeout);
+                                                 apr_interval_time_t timeout);
 
 /**
  * Release the lock for the given mutex.

Modified: apr/apr/trunk/include/apr_proc_mutex.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_proc_mutex.h?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_proc_mutex.h (original)
+++ apr/apr/trunk/include/apr_proc_mutex.h Fri Apr  7 08:36:27 2017
@@ -122,7 +122,7 @@ APR_DECLARE(apr_status_t) apr_proc_mutex
  * @param timeout the relative timeout (microseconds)
  */
 APR_DECLARE(apr_status_t) apr_proc_mutex_timedlock(apr_proc_mutex_t *mutex,
-                                                   apr_time_t timeout);
+                                               apr_interval_time_t timeout);
 
 /**
  * Release the lock for the given mutex.

Modified: apr/apr/trunk/include/apr_thread_mutex.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_thread_mutex.h?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_thread_mutex.h (original)
+++ apr/apr/trunk/include/apr_thread_mutex.h Fri Apr  7 08:36:27 2017
@@ -90,7 +90,7 @@ APR_DECLARE(apr_status_t) apr_thread_mut
  * @param timeout the relative timeout (microseconds)
  */
 APR_DECLARE(apr_status_t) apr_thread_mutex_timedlock(apr_thread_mutex_t *mutex,
-                                                     apr_time_t timeout);
+                                                 apr_interval_time_t timeout);
 
 /**
  * Release the lock for the given mutex.

Modified: apr/apr/trunk/locks/beos/proc_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/beos/proc_mutex.c?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/locks/beos/proc_mutex.c (original)
+++ apr/apr/trunk/locks/beos/proc_mutex.c Fri Apr  7 08:36:27 2017
@@ -109,7 +109,7 @@ APR_DECLARE(apr_status_t) apr_proc_mutex
 }
 
 APR_DECLARE(apr_status_t) apr_proc_mutex_timedlock(apr_proc_mutex_t *mutex,
-                                                   apr_time_t timeout)
+                                               apr_interval_time_t timeout)
 {
     int32 stat;
 

Modified: apr/apr/trunk/locks/beos/thread_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/beos/thread_mutex.c?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/locks/beos/thread_mutex.c (original)
+++ apr/apr/trunk/locks/beos/thread_mutex.c Fri Apr  7 08:36:27 2017
@@ -132,7 +132,7 @@ APR_DECLARE(apr_status_t) apr_thread_mut
 }
 
 APR_DECLARE(apr_status_t) apr_thread_mutex_timedlock(apr_thread_mutex_t *mutex,
-                                                     apr_time_t timeout)
+                                                 apr_interval_time_t timeout)
 {
     int32 stat;
     thread_id me = find_thread(NULL);

Modified: apr/apr/trunk/locks/netware/proc_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/netware/proc_mutex.c?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/locks/netware/proc_mutex.c (original)
+++ apr/apr/trunk/locks/netware/proc_mutex.c Fri Apr  7 08:36:27 2017
@@ -73,7 +73,7 @@ APR_DECLARE(apr_status_t) apr_proc_mutex
 }
 
 APR_DECLARE(apr_status_t) apr_proc_mutex_timedlock(apr_proc_mutex_t *mutex,
-                                                   apr_time_t timeout)
+                                               apr_interval_time_t timeout)
 {
     if (mutex)
         return apr_thread_mutex_timedlock(mutex->mutex, timeout);

Modified: apr/apr/trunk/locks/netware/thread_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/netware/thread_mutex.c?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/locks/netware/thread_mutex.c (original)
+++ apr/apr/trunk/locks/netware/thread_mutex.c Fri Apr  7 08:36:27 2017
@@ -112,7 +112,7 @@ APR_DECLARE(apr_status_t) apr_thread_mut
 }
 
 APR_DECLARE(apr_status_t) apr_thread_mutex_timedlock(apr_thread_mutex_t *mutex,
-                                                     apr_time_t timeout)
+                                                 apr_interval_time_t timeout)
 {
     if (mutex->cond) {
         apr_status_t rv;

Modified: apr/apr/trunk/locks/os2/proc_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/os2/proc_mutex.c?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/locks/os2/proc_mutex.c (original)
+++ apr/apr/trunk/locks/os2/proc_mutex.c Fri Apr  7 08:36:27 2017
@@ -162,7 +162,7 @@ APR_DECLARE(apr_status_t) apr_proc_mutex
 
 
 APR_DECLARE(apr_status_t) apr_proc_mutex_timedlock(apr_proc_mutex_t *mutex,
-                                                   apr_time_t timeout)
+                                               apr_interval_time_t timeout)
 {
     ULONG rc;
     

Modified: apr/apr/trunk/locks/os2/thread_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/os2/thread_mutex.c?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/locks/os2/thread_mutex.c (original)
+++ apr/apr/trunk/locks/os2/thread_mutex.c Fri Apr  7 08:36:27 2017
@@ -73,7 +73,7 @@ APR_DECLARE(apr_status_t) apr_thread_mut
 
 
 APR_DECLARE(apr_status_t) apr_thread_mutex_timedlock(apr_thread_mutex_t *mutex,
-                                                     apr_time_t timeout)
+                                                 apr_interval_time_t timeout)
 {
     ULONG rc;
 

Modified: apr/apr/trunk/locks/unix/global_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/unix/global_mutex.c?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/locks/unix/global_mutex.c (original)
+++ apr/apr/trunk/locks/unix/global_mutex.c Fri Apr  7 08:36:27 2017
@@ -143,7 +143,7 @@ APR_DECLARE(apr_status_t) apr_global_mut
 }
 
 APR_DECLARE(apr_status_t) apr_global_mutex_timedlock(apr_global_mutex_t *mutex,
-                                                     apr_time_t timeout)
+                                                 apr_interval_time_t timeout)
 {
     apr_status_t rv;
 

Modified: apr/apr/trunk/locks/unix/proc_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/unix/proc_mutex.c?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/locks/unix/proc_mutex.c (original)
+++ apr/apr/trunk/locks/unix/proc_mutex.c Fri Apr  7 08:36:27 2017
@@ -1555,7 +1555,7 @@ APR_DECLARE(apr_status_t) apr_proc_mutex
 }
 
 APR_DECLARE(apr_status_t) apr_proc_mutex_timedlock(apr_proc_mutex_t *mutex,
-                                                   apr_time_t timeout)
+                                               apr_interval_time_t timeout)
 {
     return mutex->meth->timedacquire(mutex, timeout);
 }

Modified: apr/apr/trunk/locks/unix/thread_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/unix/thread_mutex.c?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/locks/unix/thread_mutex.c (original)
+++ apr/apr/trunk/locks/unix/thread_mutex.c Fri Apr  7 08:36:27 2017
@@ -190,7 +190,7 @@ APR_DECLARE(apr_status_t) apr_thread_mut
 }
 
 APR_DECLARE(apr_status_t) apr_thread_mutex_timedlock(apr_thread_mutex_t *mutex,
-                                                     apr_time_t timeout)
+                                                 apr_interval_time_t timeout)
 {
     apr_status_t rv = APR_ENOTIMPL;
 

Modified: apr/apr/trunk/locks/win32/proc_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/win32/proc_mutex.c?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/locks/win32/proc_mutex.c (original)
+++ apr/apr/trunk/locks/win32/proc_mutex.c Fri Apr  7 08:36:27 2017
@@ -165,7 +165,7 @@ APR_DECLARE(apr_status_t) apr_proc_mutex
 }
 
 APR_DECLARE(apr_status_t) apr_proc_mutex_timedlock(apr_proc_mutex_t *mutex,
-                                                   apr_time_t timeout)
+                                               apr_interval_time_t timeout)
 {
     DWORD rv;
 

Modified: apr/apr/trunk/locks/win32/thread_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/locks/win32/thread_mutex.c?rev=1790521&r1=1790520&r2=1790521&view=diff
==============================================================================
--- apr/apr/trunk/locks/win32/thread_mutex.c (original)
+++ apr/apr/trunk/locks/win32/thread_mutex.c Fri Apr  7 08:36:27 2017
@@ -115,7 +115,7 @@ APR_DECLARE(apr_status_t) apr_thread_mut
 }
 
 APR_DECLARE(apr_status_t) apr_thread_mutex_timedlock(apr_thread_mutex_t *mutex,
-                                                     apr_time_t timeout)
+                                                 apr_interval_time_t timeout)
 {
     if (mutex->type != thread_mutex_critical_section) {
         DWORD rv, timeout_ms;



Mime
View raw message