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

Re: Context parameter in public API

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-10-12 06:04:00 CEST

"Bill Tutt" <rassilon@lyra.org> writes:
> > Or, instead of a context baton, should we just have a global
> > Configuration object? (Please, no reflexive "globals are evil"
> > responses. If this particular use of a global object is evil, say
> > exactly why.)
>
> The general answer to as to why globals are evil ends up revolving
> around thread safety.

Right, but in this case we'd initialize a global data structure at
startup time, based on the data in ~/.subversion/*, and then never
modify that structure afterwards.

So is thread-safety really an issue here?

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 12 06:31:53 2002

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.