httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/winnt mpm_winnt.c
Date Thu, 02 Aug 2001 22:12:46 GMT
wrowe       01/08/02 15:12:46

  Modified:    server/mpm/winnt mpm_winnt.c
  Log:
    If it won't let us run in APR_POOLS_DEBUG mode, it's broken.
  
    We should be implementing this all in terms of apr_threads, and fix
    the apr_pools code to allow 'trusted subpools' with their own root
    allocations that bypass the mutexes.  Unrooting a pool just glosses
    over the real problems.
  
  Revision  Changes    Path
  1.168     +1 -1      httpd-2.0/server/mpm/winnt/mpm_winnt.c
  
  Index: mpm_winnt.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/winnt/mpm_winnt.c,v
  retrieving revision 1.167
  retrieving revision 1.168
  diff -u -r1.167 -r1.168
  --- mpm_winnt.c	2001/07/18 21:13:04	1.167
  +++ mpm_winnt.c	2001/08/02 22:12:45	1.168
  @@ -845,7 +845,7 @@
   
       g_blocked_threads--;    
   
  -    if ((rc = apr_pool_create(&pCompContext->ptrans, NULL)) != APR_SUCCESS) {
  +    if ((rc = apr_pool_create(&pCompContext->ptrans, pconf)) != APR_SUCCESS) {
           ap_log_error(APLOG_MARK,APLOG_DEBUG, rc, server_conf,
                        "Child %d: apr_pool_create failed with rc %d", my_pid, rc);
       }
  
  
  

Mime
View raw message