httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: httpd-2.0/server/mpm/spmt_os2 spmt_os2.c
Date Sat, 24 Feb 2001 00:40:29 GMT
bjh         01/02/23 16:40:29

  Modified:    server/mpm/spmt_os2 spmt_os2.c
  Log:
  Fix initialization of thread_control[...].generation.
  
  Revision  Changes    Path
  1.89      +1 -1      httpd-2.0/server/mpm/spmt_os2/spmt_os2.c
  
  Index: spmt_os2.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/spmt_os2/spmt_os2.c,v
  retrieving revision 1.88
  retrieving revision 1.89
  diff -u -r1.88 -r1.89
  --- spmt_os2.c	2001/02/23 18:17:18	1.88
  +++ spmt_os2.c	2001/02/24 00:40:28	1.89
  @@ -518,6 +518,7 @@
       *ppthread_globals = (struct thread_globals *)apr_palloc(pchild, sizeof(struct thread_globals));
       THREAD_GLOBAL(thread_num) = (int)thread_num_arg;
       THREAD_GLOBAL(pchild) = pchild;
  +    thread_control[THREAD_GLOBAL(thread_num)].generation = ap_scoreboard_image->global.running_generation;
       apr_pool_create(&ptrans, pchild);
   
       if (setup_listen_poll(pchild, &listen_poll)) {
  @@ -743,7 +744,6 @@
       }
   
       ap_scoreboard_image->servers[0][slot].tid = tid;
  -    thread_control[THREAD_GLOBAL(thread_num)].generation = ap_scoreboard_image->global.running_generation;
       return 0;
   }
   
  
  
  

Mime
View raw message