apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r439667 - in /apr/apr/trunk: CHANGES poll/unix/kqueue.c
Date Sat, 02 Sep 2006 21:58:27 GMT
Author: pquerna
Date: Sat Sep  2 14:58:27 2006
New Revision: 439667

URL: http://svn.apache.org/viewvc?rev=439667&view=rev
Log:
Fix the conversion of the timeout paremeter into a timespce for the kqueue pollset backend.

Submitted by: Marco Molteni <mmolteni cisco.com>

Modified:
    apr/apr/trunk/CHANGES
    apr/apr/trunk/poll/unix/kqueue.c

Modified: apr/apr/trunk/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/trunk/CHANGES?rev=439667&r1=439666&r2=439667&view=diff
==============================================================================
--- apr/apr/trunk/CHANGES (original)
+++ apr/apr/trunk/CHANGES Sat Sep  2 14:58:27 2006
@@ -1,5 +1,8 @@
 Changes for APR 1.3.0
 
+  *) Fix the timeout converstion in apr_pollset with the KQueue
+     backend. [Marco Molteni <mmolteni cisco.com>]
+
   *) Implement apr_threadkey_private destructors on WIN32
      instead silently ignoring them, so that they behave like on
      the pthreads powered platforms. [Mladen Turk]

Modified: apr/apr/trunk/poll/unix/kqueue.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/kqueue.c?rev=439667&r1=439666&r2=439667&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/kqueue.c (original)
+++ apr/apr/trunk/poll/unix/kqueue.c Sat Sep  2 14:58:27 2006
@@ -243,7 +243,7 @@
     }
     else {
         tv.tv_sec = (long) apr_time_sec(timeout);
-        tv.tv_nsec = (long) apr_time_msec(timeout);
+        tv.tv_nsec = (long) apr_time_usec(timeout) * 1000;
         tvptr = &tv;
     }
 



Mime
View raw message