You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2010/10/07 18:59:00 UTC
svn commit: r1005524 - /httpd/httpd/branches/2.2.x/support/ab.c
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);