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

Re: APR feature idea: named global mutex retrieval

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-04-15 22:12:46 CEST

On Fri, 15 Apr 2005, Greg Hudson wrote:

> On Fri, 2005-04-15 at 15:45, Peter N. Lundblad wrote:
> > This idea is so simple and ellegant! My only concern is about contention
> > if that function is used much (say every function in a library has to use
> > it to ensure it was initialized). That might be over-paranoid, however.
> Well, when possible, we'd retrieve a mutex once and hold onto it for a
> while, e.g. when we create an FS object. For the svn_utf case, we don't
> have an object to hold onto, but we could stuff the mutex into the
> current pool as a contention-free cache.
Yeah, it was the UTF stuff that was my concern, but your pool idea
probably puts it into the non-measurable area.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 15 22:07:13 2005

This is an archived mail posted to the Subversion Dev mailing list.