summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-10-14 02:14:22 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-10-14 02:14:22 +0000
commitdbcb1c9d4ee2c453c3247da89eb9613e24475fcc (patch)
tree20467552d4d46a1375b001916993947137726d09 /test
parentf83606b9e07f8ae08a9ed645d8eeef7752ddf482 (diff)
downloadlibapr-dbcb1c9d4ee2c453c3247da89eb9613e24475fcc.tar.gz
Cure win32 ills, apr created threads must use apr_thread_exit.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@584471 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/testmutexscope.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testmutexscope.c b/test/testmutexscope.c
index 0ea08cc63..5318a27c3 100644
--- a/test/testmutexscope.c
+++ b/test/testmutexscope.c
@@ -96,6 +96,7 @@ static void * APR_THREAD_FUNC eachThread(apr_thread_t *id, void *p)
assert(apr_thread_mutex_lock(thread_mutex) == APR_SUCCESS);
assert(apr_thread_mutex_unlock(thread_mutex) == APR_SUCCESS);
lock_release(test_mode);
+ apr_thread_exit(id, 0);
return NULL;
}