]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Use ap_select rather than select to account for OS implementation.
authorBill Stoddard <stoddard@apache.org>
Mon, 23 Dec 2002 16:12:41 +0000 (16:12 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 23 Dec 2002 16:12:41 +0000 (16:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98094 13f79535-47bb-0310-9956-ffa450edef68

src/main/alloc.c

index e5f8149678daacd1432bfe0006d037b21a41a9ac..ed7f035d987aa144a9d7f47dc747c45661336db7 100644 (file)
@@ -2867,7 +2867,7 @@ static void free_proc_chain(struct process_chain *procs)
         timeout_interval = TIMEOUT_INTERVAL;
         tv.tv_sec = 0;
         tv.tv_usec = timeout_interval;
-        select(0, NULL, NULL, NULL, &tv);
+        ap_select(0, NULL, NULL, NULL, &tv);
 
         do {
             need_timeout = 0;
@@ -2885,7 +2885,7 @@ static void free_proc_chain(struct process_chain *procs)
                 }
                 tv.tv_sec = timeout_interval / 1000000;
                 tv.tv_usec = timeout_interval % 1000000;
-                select(0, NULL, NULL, NULL, &tv);
+                ap_select(0, NULL, NULL, NULL, &tv);
                 timeout_interval *= 2;
             }
         } while (need_timeout);