You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by br...@apache.org on 2002/06/07 01:58:14 UTC

cvs commit: httpd-2.0/server/mpm/experimental/threadpool mpm.h threadpool.c

brianp      2002/06/06 16:58:14

  Modified:    server/mpm/experimental/threadpool mpm.h threadpool.c
  Log:
  Support -k argument in threadpool
  Submitted by:	Thom May <th...@planetarytramp.net>
  Reviewed by:	Brian Pane
  
  Revision  Changes    Path
  1.2       +1 -0      httpd-2.0/server/mpm/experimental/threadpool/mpm.h
  
  Index: mpm.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/experimental/threadpool/mpm.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mpm.h	16 Apr 2002 23:37:06 -0000	1.1
  +++ mpm.h	6 Jun 2002 23:58:14 -0000	1.2
  @@ -74,6 +74,7 @@
   #define AP_MPM_WANT_SET_MAX_REQUESTS
   #define AP_MPM_WANT_SET_COREDUMPDIR
   #define AP_MPM_WANT_SET_ACCEPT_LOCK_MECH
  +#define AP_MPM_WANT_SIGNAL_SERVER
   #define AP_MPM_DISABLE_NAGLE_ACCEPTED_SOCK
   
   #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
  
  
  
  1.10      +1 -1      httpd-2.0/server/mpm/experimental/threadpool/threadpool.c
  
  Index: threadpool.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/experimental/threadpool/threadpool.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- threadpool.c	30 May 2002 00:21:27 -0000	1.9
  +++ threadpool.c	6 Jun 2002 23:58:14 -0000	1.10
  @@ -2308,7 +2308,7 @@
   
   module AP_MODULE_DECLARE_DATA mpm_threadpool_module = {
       MPM20_MODULE_STUFF,
  -    NULL,                       /* hook to run before apache parses args */
  +    ap_mpm_rewrite_args,        /* hook to run before apache parses args */
       NULL,                       /* create per-directory config structure */
       NULL,                       /* merge per-directory config structures */
       NULL,                       /* create per-server config structure */