[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r16449 - trunk/build/generator

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-10-04 19:59:02 CEST

On 10/4/05, David James <james82@gmail.com> wrote:

> I've figured out the problem: If we're using a threaded APR, and we
> import libsvn._wc before importing libsvn._core, the
> svn_swig_release_py_lock function will run before libsvn._core has had
> a chance to initialize APR. Does this fix look reasonable?

Why not just initialize APR in both places? There's no reason you
can't initialize apr twice, as long as you terminate it twice, apr
internally will do the refcounting to make sure it only really shuts
itself down on the final terminate call.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 4 20:00:03 2005

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.