rbb         99/02/23 12:37:27

  Modified:    pthreads/src/main http_main.c
  Log:
  When I get a graceful restart, I have to kick acceptors out of blocking on the
  full queue.  Otherwise, they will sit there, and they won't quit quickly 
enough.
  
  Revision  Changes    Path
  1.54      +3 -0      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.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- http_main.c       1999/02/23 19:11:21     1.53
  +++ http_main.c       1999/02/23 20:37:26     1.54
  @@ -424,6 +424,9 @@
        ap_pclosesocket(pconf, lr->fd);
        lr= lr->next;
       }
  +
  +    /* Kick any acceptor out of blocking on a full queue */
  +    pthread_cond_broadcast(&(csd_queue.not_full));
       
       for (i = 0; i < ss->worker_threads + ss->acceptor_threads; i++) {
           if (ap_scoreboard_image->servers[index][i].status != SERVER_DEAD) {
  
  
  

Reply via email to