httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: httpd-2.0/include scoreboard.h
Date Fri, 07 Dec 2001 19:08:50 GMT
aaron       01/12/07 11:08:50

  Modified:    server   scoreboard.c
               include  scoreboard.h
  Log:
  Provide an accessor function for the global_score portion of the scoreboard.
  
  Submitted by:	Harrie Hazewinkel <harrie@covalent.net>
  Reviewed by:	Aaron Bannert
  
  Revision  Changes    Path
  1.39      +4 -0      httpd-2.0/server/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- scoreboard.c	2001/12/07 19:06:28	1.38
  +++ scoreboard.c	2001/12/07 19:08:50	1.39
  @@ -372,3 +372,7 @@
       return(&ap_scoreboard_image->parent[x]);
   }
   
  +AP_DECLARE(global_score *) ap_get_global_scoreboard()
  +{
  +    return(&ap_scoreboard_image->global);
  +}
  
  
  
  1.32      +1 -0      httpd-2.0/include/scoreboard.h
  
  Index: scoreboard.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/scoreboard.h,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- scoreboard.h	2001/12/07 19:06:29	1.31
  +++ scoreboard.h	2001/12/07 19:08:50	1.32
  @@ -218,6 +218,7 @@
   void ap_time_process_request(int child_num, int thread_num, int status);
   AP_DECLARE(worker_score *) ap_get_servers_scoreboard(int x, int y);
   AP_DECLARE(process_score *) ap_get_parent_scoreboard(int x);
  +AP_DECLARE(global_score *) ap_get_global_scoreboard(void);
   
   AP_DECLARE_DATA extern scoreboard *ap_scoreboard_image;
   AP_DECLARE_DATA extern const char *ap_scoreboard_fname;
  
  
  

Mime
View raw message