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

Re: 1.1rc1 performance regression in 'svn status' (and also 1.1rc2)

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-08-13 22:24:09 CEST

On Fri, 13 Aug 2004, Mark Phippard wrote:

> "Peter N. Lundblad" <peter@famlundblad.se> wrote on 08/13/2004 01:56:08
> AM:
>
> > On Thu, 12 Aug 2004, Greg Hudson wrote:
> >
> > This was discussed earlier on this thread. If a pools parent is in a
> > different thread, this will not work. You can't use a xlate handle in
> > different threads at the same time, AFAICK.
> >
>
> How would svn st be running multi-threaded? Aren't client ops always
> single thread? Or is this a general routine used in other cases as well?
>
The question isn't about the status command, but a routine that converts
between UTF-8 and the character encoding used in the current environment.
This routine caches the translation handle, but this is an internal
implementation detail. It is supposed to be thread-safe in the sense that
simultanous calls from different threads. Remember that subversion is a
set of libraries and we don't, in general, have control over the
application.

> Is there a simple way to check if there are multiple threads running so
> that it could use the xlate handle when running client operations?
>
Not that I know of.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 13 22:44:03 2004

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.