httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/threaded threaded.c
Date Wed, 25 Jul 2001 20:34:02 GMT
trawick     01/07/25 13:34:02

  Modified:    server/mpm/threaded threaded.c
  Log:
  fix some typos, add a comment
  
  Revision  Changes    Path
  1.48      +3 -3      httpd-2.0/server/mpm/threaded/threaded.c
  
  Index: threaded.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/threaded/threaded.c,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- threaded.c	2001/07/24 05:19:47	1.47
  +++ threaded.c	2001/07/25 20:34:02	1.48
  @@ -705,8 +705,8 @@
     	    /* We are creating threads right now */
   	    (void) ap_update_child_status(my_child_num, i, SERVER_STARTING, 
   	  			          (request_rec *) NULL);
  -	    /* We let each thread update it's own scoreboard entry.  This is 
  -             * done because it let's us deal with tid better.
  +            /* We let each thread update its own scoreboard entry.  This is
  +             * done because it lets us deal with tid better.
   	     */
   	    if ((rv = apr_thread_create(&threads[i], thread_attr, worker_thread, my_info,
pchild))) {
   	        ap_log_error(APLOG_MARK, APLOG_ALERT, rv, ap_server_conf,
  @@ -722,7 +722,7 @@
           if (workers_may_exit || threads_created == ap_threads_per_child) {
               break;
           }
  -        sleep(1);
  +        sleep(1); /* wait for previous generation to clean up an entry */
       }
       
       /* What state should this child_main process be listed as in the scoreboard...?
  
  
  

Mime
View raw message