Re: svn commit: r1142130 - in /subversion/branches/svn_mutex/subversion/libsvn_fs_fs: fs.c fs.h fs_fs.c
From: Blair Zajac <blair_at_orcaware.com>
Date: Fri, 1 Jul 2011 19:35:17 -0700
On Jul 1, 2011, at 5:27 PM, stefan2_at_apache.org wrote:
> Author: stefan2
> -#if APR_HAS_THREADS
I don't get why you have enable_mutex. On a platform without thread
#if APR_HAS_THREADS
but that seems like unnecessary work. I would rather see this
SVN_ERR(svn_mutex__init(&ffsd->txn_list_lock, common_pool));
and the mutex will behave with or without locking automatically.
Finally, looking at svn_mutex__init's implementation, I would state
Blair
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.