You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/03/04 19:34:17 UTC

svn commit: r750094 - /httpd/httpd/trunk/support/ab.c

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);