From 7f1ced9b083f4727f869ef71cd3d0c85745f0019 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Fri, 2 Feb 2001 23:39:24 +0000 Subject: [PATCH] Pass the thread number along to the new thread for use in the conn->id field. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87962 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/winnt/mpm_winnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index 225b611fd1..1e18d0d450 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -1291,7 +1291,7 @@ static void child_main() child_handles = (thread) alloca(nthreads * sizeof(int)); for (i = 0; i < nthreads; i++) { child_handles[i] = (thread) _beginthreadex(NULL, 0, (LPTHREAD_START_ROUTINE) worker_main, - NULL, 0, &tid); + (void *) i, 0, &tid); } /* Begin accepting connections */ -- 2.50.0