Use a Python threading lock to ensure that only one thread initializes the application_pool. This fix prevents race conditions during application pool initialization.
Use a Python threading lock to ensure that only one thread initializes
the application_pool. This fix prevents race conditions during
application pool initialization.

Trac ticket: http://projects.edgewall.com/trac/ticket/2611

* subversion/bindings/swig/include/proxy_apr.swg
  (application_pool_lock): New lock.
  (apr_pool_t.set_parent_pool): Lock application_pool_lock before
  accessing or modifying the application_pool. 



git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@858795 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion