httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/winnt mpm_winnt.c
Date Fri, 02 Feb 2001 23:39:25 GMT
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 */
  
  
  

Mime
View raw message