You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2011/10/12 20:01:51 UTC
svn commit: r1182497 - /subversion/trunk/subversion/libsvn_subr/dso.c
Author: stsp
Date: Wed Oct 12 18:01:50 2011
New Revision: 1182497
URL: http://svn.apache.org/viewvc?rev=1182497&view=rev
Log:
Fix some more fallout with thread-less APR caused by the svn_mutex merge.
* subversion/libsvn_subr/dso.c
(svn_dso_initialize2): Don't enable mutexes if APR is thread-less.
Modified:
subversion/trunk/subversion/libsvn_subr/dso.c
Modified: subversion/trunk/subversion/libsvn_subr/dso.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/dso.c?rev=1182497&r1=1182496&r2=1182497&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/dso.c (original)
+++ subversion/trunk/subversion/libsvn_subr/dso.c Wed Oct 12 18:01:50 2011
@@ -54,7 +54,7 @@ svn_dso_initialize2(void)
dso_pool = svn_pool_create(NULL);
- SVN_ERR(svn_mutex__init(&dso_mutex, TRUE, dso_pool));
+ SVN_ERR(svn_mutex__init(&dso_mutex, APR_HAS_THREADS, dso_pool));
dso_cache = apr_hash_make(dso_pool);
return SVN_NO_ERROR;