You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/10/14 04:15:24 UTC

svn commit: r584472 - /apr/apr/branches/1.2.x/test/testmutexscope.c

Author: wrowe
Date: Sat Oct 13 19:15:24 2007
New Revision: 584472

URL: http://svn.apache.org/viewvc?rev=584472&view=rev
Log:
Cure win32 ills, apr created, managed threads must call apr_thread_exit().

Backport: 584471

Modified:
    apr/apr/branches/1.2.x/test/testmutexscope.c

Modified: apr/apr/branches/1.2.x/test/testmutexscope.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/test/testmutexscope.c?rev=584472&r1=584471&r2=584472&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/test/testmutexscope.c (original)
+++ apr/apr/branches/1.2.x/test/testmutexscope.c Sat Oct 13 19:15:24 2007
@@ -96,6 +96,7 @@
     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;
 }