Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 28873 invoked by uid 500); 2 Feb 2001 23:39:28 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 28799 invoked by uid 500); 2 Feb 2001 23:39:27 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 2 Feb 2001 23:39:25 -0000 Message-ID: <20010202233925.28791.qmail@apache.org> From: stoddard@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/server/mpm/winnt mpm_winnt.c stoddard 01/02/02 15:39:25 Modified: server/mpm/winnt mpm_winnt.c Log: Pass the thread number along to the new thread for use in the conn->id field. Revision Changes Path 1.130 +1 -1 httpd-2.0/server/mpm/winnt/mpm_winnt.c Index: mpm_winnt.c =================================================================== RCS file: /home/cvs/httpd-2.0/server/mpm/winnt/mpm_winnt.c,v retrieving revision 1.129 retrieving revision 1.130 diff -u -r1.129 -r1.130 --- mpm_winnt.c 2001/02/02 21:32:33 1.129 +++ mpm_winnt.c 2001/02/02 23:39:24 1.130 @@ -1291,7 +1291,7 @@ 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 */