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/modules/arch/win32 mod_isapi.c
Date Wed, 29 May 2002 21:23:04 GMT
wrowe       02/05/29 14:23:04

  Modified:    modules/arch/win32 mod_isapi.c
  Log:
    Solve a bug identified by Sebastian that we would always reaquire the
    lock immediately instead of stalling for the isapi module's thread
    to complete its work.  This requires the new changes to thread_mutex
    that introduce a guarenteed APR_THREAD_MUTEX_UNNESTED flag.
  
  Reported by: Sebastian Hantsch <Sebastian.Hantsch@t-online.de>
  
  Revision  Changes    Path
  1.78      +1 -1      httpd-2.0/modules/arch/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/arch/win32/mod_isapi.c,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- mod_isapi.c	25 May 2002 15:31:27 -0000	1.77
  +++ mod_isapi.c	29 May 2002 21:23:03 -0000	1.78
  @@ -1487,7 +1487,7 @@
                   apr_thread_mutex_t *comp;
   
                   rv = apr_thread_mutex_create(&cid->completed, 
  -                                             APR_THREAD_MUTEX_DEFAULT, 
  +                                             APR_THREAD_MUTEX_UNNESTED, 
                                                r->pool);
                   comp = cid->completed;
                   if (cid->completed && (rv == APR_SUCCESS)) {
  
  
  

Mime
View raw message