httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1005524 - /httpd/httpd/branches/2.2.x/support/ab.c
Date Thu, 07 Oct 2010 16:59:00 GMT
Author: wrowe
Date: Thu Oct  7 16:58:59 2010
New Revision: 1005524

URL: http://svn.apache.org/viewvc?rev=1005524&view=rev
Log:
ab: repeat apr_pollset_poll() while APR_STATUS_IS_EINTR(rv)

Backports: r750094
Submitted by: trawick
Reviewed by: sf, wrowe

Modified:
    httpd/httpd/branches/2.2.x/support/ab.c

Modified: httpd/httpd/branches/2.2.x/support/ab.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/support/ab.c?rev=1005524&r1=1005523&r2=1005524&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/support/ab.c (original)
+++ httpd/httpd/branches/2.2.x/support/ab.c Thu Oct  7 16:58:59 2010
@@ -1697,7 +1697,9 @@ static void test(void)
         const apr_pollfd_t *pollresults;
 
         n = concurrency;
+        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