Author: philip
Date: Thu Apr 4 00:39:12 2013
New Revision: 1464243
URL: http://svn.apache.org/r1464243
Log:
The locking restrictions that apply to svn_repos_recover also
apply to svn_repos_upgrade and svn_repos_freeze.
* subversion/include/svn_repos.h
(svn_repos_upgrade2, svn_repos_freeze): Add note.
Modified:
subversion/trunk/subversion/include/svn_repos.h
Modified: subversion/trunk/subversion/include/svn_repos.h
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_repos.h?rev=1464243&r1=1464242&r2=1464243&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_repos.h (original)
+++ subversion/trunk/subversion/include/svn_repos.h Thu Apr 4 00:39:12 2013
@@ -440,6 +440,11 @@ svn_repos_create(svn_repos_t **repos_p,
* It does *not* guarantee the most optimized repository state as a
* dump and subsequent load would.
*
+ * @note On some platforms the exclusive lock does not exclude other
+ * threads in the same process so this function should only be called
+ * by a single threaded process, or by a multi-threaded process when
+ * no other threads are accessing the repository.
+ *
* @since New in 1.7.
*/
svn_error_t *
@@ -664,6 +669,11 @@ svn_repos_recover(const char *path,
* FS backend the repository uses. Repositories are locked in the
* order in which they are specified in the array.
*
+ * @note On some platforms the exclusive lock does not exclude other
+ * threads in the same process so this function should only be called
+ * by a single threaded process, or by a multi-threaded process when
+ * no other threads are accessing the repositories.
+ *
* @since New in 1.8.
*/
svn_error_t *