On the revprop-cache branch: Expose parts of svn_io_file_lock2
as usable functions to allow for a quicker lock / unlock scheme.

* subversion/include/svn_io.h
  (svn_io_lock_open_file, svn_io_unlock_open_file): declare new API
* subversion/libsvn_subr/io.c
  (svn_io_lock_open_file, svn_io_unlock_open_file): implement
   new API; code mainly taken from svn_io_file_lock2
  (svn_io_file_lock2): call new API as sub-routines

git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/revprop-cache@1325458 13f79535-47bb-0310-9956-ffa450edef68
2 files changed