httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/beos beos.c
Date Fri, 30 Mar 2001 20:01:50 GMT
dreid       01/03/30 12:01:49

  Modified:    server/mpm/beos beos.c
  Log:
  Now that apr_poll has been corrected and doesn't loose fd's between calls
  this can be done once again.
  
  Revision  Changes    Path
  1.50      +2 -2      httpd-2.0/server/mpm/beos/beos.c
  
  Index: beos.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/beos/beos.c,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- beos.c	2001/03/21 06:42:38	1.49
  +++ beos.c	2001/03/30 20:01:49	1.50
  @@ -350,14 +350,14 @@
                                     (request_rec*)NULL);
                                     
       apr_poll_setup(&pollset, num_listening_sockets, tpool);
  +    for(n=0 ; n <= num_listening_sockets ; n++)
  +        apr_poll_socket_add(pollset, listening_sockets[n], APR_POLLIN);
   
       while (1) {
           /* If we're here, then chances are (unless we're the first thread created) we're
going
              to be held up on the accept_muetx, so doing this here shouldn't be a peformance
hit.
              If it is, you probably need more threads...
            */
  -        for(n=0 ; n <= num_listening_sockets ; n++)
  -	        apr_poll_socket_add(pollset, listening_sockets[n], APR_POLLIN);
   
           this_worker_should_exit |= (ap_max_requests_per_child != 0) && (requests_this_child
<= 0);
           
  
  
  

Mime
View raw message