httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@hyperreal.org
Subject cvs commit: apache-apr/pthreads/src/main http_main.c
Date Wed, 26 May 1999 07:06:32 GMT
manoj       99/05/26 00:06:32

  Modified:    pthreads/src/main http_main.c
  Log:
  When a child dies, we now mark it dead after wait_or_timeout() in the
  parent; marking it dead in the child itself is somewhat incorrect and
  unnecessary.
  
  Revision  Changes    Path
  1.86      +0 -7      apache-apr/pthreads/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-apr/pthreads/src/main/http_main.c,v
  retrieving revision 1.85
  retrieving revision 1.86
  diff -u -u -r1.85 -r1.86
  --- http_main.c	1999/05/24 20:33:32	1.85
  +++ http_main.c	1999/05/26 07:06:31	1.86
  @@ -389,17 +389,10 @@
      static void clean_child_exit(int code) __attribute__ ((noreturn)); */
   void clean_child_exit(int code)
   {
  -    int child_num = find_child_by_pid(getpid());
  -    int i;
  -
  -    for (i = 0; i < ap_threads_per_child + ap_acceptors_per_child; i++)
  -        ap_update_child_status(child_num, i, SERVER_DEAD, (request_rec *) NULL);
  -
       if (pchild) {
   	ap_child_exit_modules(pchild, server_conf);
   	ap_destroy_pool(pchild);
       }
  -
       exit(code);
   }
   
  
  
  

Mime
View raw message