httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/server/mpm/perchild perchild.c
Date Mon, 27 Aug 2001 19:34:34 GMT
rbb         01/08/27 12:34:34

  Modified:    server/mpm/perchild perchild.c
  Log:
  Remove some warnings from the perchild MPM
  
  Revision  Changes    Path
  1.75      +3 -3      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.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- perchild.c	2001/08/14 12:30:50	1.74
  +++ perchild.c	2001/08/27 19:34:34	1.75
  @@ -580,9 +580,10 @@
       apr_pool_t *tpool;		/* Pool for this thread           */
       apr_pool_t *ptrans;		/* Pool for per-transaction stuff */
       apr_socket_t *sd = NULL;
  +    volatile int last_pollfd = 0;
  +    volatile int thread_just_started = 1;
       int srv;
  -    int curr_pollfd, last_pollfd = 0;
  -    int thread_just_started = 1;
  +    int curr_pollfd;
       int thread_num = *((int *) arg);
       long conn_id = child_num * HARD_THREAD_LIMIT + thread_num;
       apr_pollfd_t *pollset;
  @@ -877,7 +878,6 @@
       int i;
       ap_listen_rec *lr;
       apr_status_t rv;
  -    apr_thread_t *thread;
   
       my_pid = getpid();
       child_num = child_num_arg;
  
  
  

Mime
View raw message