[svn:mod_parrot] r407 - mod_parrot/trunk/src
[email protected] Mon, 4 Aug 2008 15:25:23 -0700 (PDT)
| Newsgroups | perl.cvs.mod_parrot |
|---|---|
| Message-ID | <[email protected]> |
Author: jhorwitz
Date: Mon Aug 4 15:25:23 2008
New Revision: 407
Modified:
mod_parrot/trunk/src/context.c
Log:
fix hang after configuration phase in threaded mpm
Modified: mod_parrot/trunk/src/context.c
==============================================================================
--- mod_parrot/trunk/src/context.c (original)
+++ mod_parrot/trunk/src/context.c Mon Aug 4 15:25:23 2008
@@ -105,7 +105,7 @@
ctx = ((modparrot_context **)ctx_pool->elts)[i];
if (MODPARROT_CTX_ISLOCKED(ctx)) continue;
MODPARROT_CTX_LOCK(ctx);
- apr_thread_mutex_destroy(ctx_pool_mutex);
+ apr_thread_mutex_unlock(ctx_pool_mutex);
return(ctx);
}
apr_thread_mutex_unlock(ctx_pool_mutex);