summaryrefslogtreecommitdiffstats
path: root/modules/arch/win32
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2002-05-29 23:23:03 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2002-05-29 23:23:03 +0200
commit9b8c53f8167db5d916c5d8944ca917fd18ed0735 (patch)
tree37b6eeeaa1b711236a15cd3d51dfaa83d13f112c /modules/arch/win32
parentUpdated the NetWare makefiles to include the rotatelogs NLM and to copy (diff)
downloadapache2-9b8c53f8167db5d916c5d8944ca917fd18ed0735.tar.xz
apache2-9b8c53f8167db5d916c5d8944ca917fd18ed0735.zip
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> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95366 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch/win32')
-rw-r--r--modules/arch/win32/mod_isapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/arch/win32/mod_isapi.c b/modules/arch/win32/mod_isapi.c
index bb1305c2d1..81acc00349 100644
--- a/modules/arch/win32/mod_isapi.c
+++ b/modules/arch/win32/mod_isapi.c
@@ -1487,7 +1487,7 @@ apr_status_t isapi_handler (request_rec *r)
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)) {