httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/perchild perchild.c
Date Wed, 28 Feb 2001 18:23:45 GMT
trawick     01/02/28 10:23:44

  Modified:    server/mpm/perchild perchild.c
  Log:
  Pass the correct worker thread id to worker_thread() when the initial
  thread of the child process becomes a worker thread.
  
  Prior to this, perchild segfaulted over and over at startup.
  
  Revision  Changes    Path
  1.53      +2 -2      httpd-2.0/server/mpm/perchild/perchild.c
  
  Index: perchild.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/perchild/perchild.c,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- perchild.c	2001/02/23 18:17:18	1.52
  +++ perchild.c	2001/02/28 18:23:37	1.53
  @@ -917,8 +917,8 @@
           }
       }
   
  -    /* This thread will be the one responsible for handling signals */
  -    worker_thread(&worker_thread_free_ids[max_threads]);
  +    /* This thread will be be a worker thread too. */
  +    worker_thread(&worker_thread_free_ids[max_threads - 1]);
   
   }
   
  
  
  

Mime
View raw message