manoj       99/09/17 16:32:14

  Modified:    src/modules/mpm/dexter dexter.c
               src/modules/mpm/mpmt_pthread mpmt_pthread.c
  Log:
  Instead of blocking all signals in child_main, we were unblocking them;
  this fixes that. Reported by Dave Colasurdo <[EMAIL PROTECTED]>.
  
  Revision  Changes    Path
  1.38      +1 -1      apache-2.0/src/modules/mpm/dexter/dexter.c
  
  Index: dexter.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/dexter/dexter.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -d -u -r1.37 -r1.38
  --- dexter.c  1999/09/14 13:37:41     1.37
  +++ dexter.c  1999/09/17 23:32:10     1.38
  @@ -997,7 +997,7 @@
       /*done with init critical section */
   
       /* All threads should mask signals out, accoring to sigwait(2) man page 
*/
  -    sigemptyset(&sig_mask);
  +    sigfillset(&sig_mask);
   
       if (pthread_sigmask(SIG_SETMASK, &sig_mask, NULL) != 0) {
           ap_log_error(APLOG_MARK, APLOG_ALERT, server_conf, 
"pthread_sigmask");
  
  
  
  1.33      +1 -1      apache-2.0/src/modules/mpm/mpmt_pthread/mpmt_pthread.c
  
  Index: mpmt_pthread.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/mpmt_pthread/mpmt_pthread.c,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -d -u -r1.32 -r1.33
  --- mpmt_pthread.c    1999/09/14 13:37:42     1.32
  +++ mpmt_pthread.c    1999/09/17 23:32:11     1.33
  @@ -935,7 +935,7 @@
       /*done with init critical section */
   
       /* All threads should mask signals out, accoring to sigwait(2) man page 
*/
  -    sigemptyset(&sig_mask);
  +    sigfillset(&sig_mask);
   
       if (pthread_sigmask(SIG_SETMASK, &sig_mask, NULL) != 0) {
           ap_log_error(APLOG_MARK, APLOG_ALERT, server_conf, 
"pthread_sigmask");
  
  
  

Reply via email to