From 9b8c53f8167db5d916c5d8944ca917fd18ed0735 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Wed, 29 May 2002 21:23:03 +0000 Subject: [PATCH] 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 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95366 13f79535-47bb-0310-9956-ffa450edef68 --- modules/arch/win32/mod_isapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.40.0