httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r750094 - /httpd/httpd/trunk/support/ab.c
Date Wed, 04 Mar 2009 18:34:17 GMT
Author: trawick
Date: Wed Mar  4 18:34:17 2009
New Revision: 750094

URL: http://svn.apache.org/viewvc?rev=750094&view=rev
Log:
repeat apr_pollset_poll() while it returns EINTR

Modified:
    httpd/httpd/trunk/support/ab.c

Modified: httpd/httpd/trunk/support/ab.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?rev=750094&r1=750093&r2=750094&view=diff
==============================================================================
--- httpd/httpd/trunk/support/ab.c (original)
+++ httpd/httpd/trunk/support/ab.c Wed Mar  4 18:34:17 2009
@@ -1699,7 +1699,9 @@
         const apr_pollfd_t *pollresults;
 
         n = concurrency;
-        status = apr_pollset_poll(readbits, aprtimeout, &n, &pollresults);
+        do {
+            status = apr_pollset_poll(readbits, aprtimeout, &n, &pollresults);
+        } while (APR_STATUS_IS_EINTR(status));
         if (status != APR_SUCCESS)
             apr_err("apr_poll", status);
 



Mime
View raw message