From: Bill Stoddard Date: Mon, 23 Dec 2002 16:12:41 +0000 (+0000) Subject: Use ap_select rather than select to account for OS implementation. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7559b323e388923917745a4a67634fc5f4c36a20;p=thirdparty%2Fapache%2Fhttpd.git Use ap_select rather than select to account for OS implementation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@98094 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/main/alloc.c b/src/main/alloc.c index e5f8149678d..ed7f035d987 100644 --- a/src/main/alloc.c +++ b/src/main/alloc.c @@ -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);