[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: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-04-15 21:47:56 CEST

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 15 21:49:16 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.