On the revprop-cache branch: Since APR proc mutexes are only valid within a process tree, we need our own global mutex mechanism. It uses a lock file for global sync. and a svn_mutex__t for thread sync. Also, fix an issue identified by testing without intrinsics.
On the revprop-cache branch: Since APR proc mutexes are only valid
within a process tree, we need our own global mutex mechanism.
It uses a lock file for global sync. and a svn_mutex__t for thread sync.
Also, fix an issue identified by testing without intrinsics.

* subversion/libsvn_subr/svn_named_atomic.c
  (synched_read): must take a reference to the sync'ed data
  (svn_named_atomic__read): adapt caller
  (mutex_pool, mutex, lock_file): data for the new sync mechanism
  (init_mutex, lock, unlock): implement new sync mechanism

git-svn-id: d05e0e358a711274fc7d00753ebb184e98179213@1325463 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion