You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dr...@locus.apache.org on 2000/06/22 02:28:34 UTC

cvs commit: apache-2.0/src/modules/mpm/spmt_os2 spmt_os2.c

dreid       00/06/21 17:28:33

  Modified:    src/modules/mpm/dexter dexter.c
               src/modules/mpm/prefork prefork.c
               src/modules/mpm/spmt_os2 spmt_os2.c
  Log:
  Add the ap_get_max_daemons to dexter, prefork and spmt_os2 MPM's.  The only
  one now lacking it is winnt, but that'll need someone form the winnt camp
  to sort out.
  
  Revision  Changes    Path
  1.99      +5 -0      apache-2.0/src/modules/mpm/dexter/dexter.c
  
  Index: dexter.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/dexter/dexter.c,v
  retrieving revision 1.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- dexter.c	2000/06/21 13:15:27	1.98
  +++ dexter.c	2000/06/22 00:28:32	1.99
  @@ -177,6 +177,11 @@
       return (ap_server_conf);
   }
   
  +API_EXPORT(int) ap_get_max_daemons(void)
  +{
  +    return ap_max_daemons_limit;
  +}
  +
   /* a clean exit from a child with proper cleanup */
   static void clean_child_exit(int code)
   {
  
  
  
  1.105     +5 -0      apache-2.0/src/modules/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/prefork/prefork.c,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- prefork.c	2000/06/21 13:15:29	1.104
  +++ prefork.c	2000/06/22 00:28:33	1.105
  @@ -372,6 +372,11 @@
       return (ap_scoreboard_image ? 1 : 0);
   }
   
  +API_EXPORT(int) ap_get_max_daemons(void)
  +{
  +    return ap_max_daemons_limit;
  +}
  +
   static ap_inline void put_scoreboard_info(int child_num,
                                          short_score *new_score_rec)
   {
  
  
  
  1.46      +5 -0      apache-2.0/src/modules/mpm/spmt_os2/spmt_os2.c
  
  Index: spmt_os2.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/spmt_os2/spmt_os2.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- spmt_os2.c	2000/06/21 13:15:30	1.45
  +++ spmt_os2.c	2000/06/22 00:28:33	1.46
  @@ -235,6 +235,11 @@
       return (ap_scoreboard_image ? 1 : 0);
   }
   
  +API_EXPORT(int) ap_get_max_daemons(void)
  +{
  +    return max_daemons_limit;
  +}
  +
   int ap_update_child_status(int child_num, int status, request_rec *r)
   {
       int old_status;