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

Re: warnings

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-02-04 01:08:35 CET

On Sat, Feb 03, 2001 at 06:46:34PM +0300, Alexey Mahotkin wrote:
> >>>>> "GS" == Greg Stein <gstein@lyra.org> writes:
> GS> That interface implies global variables... IMO that is a non-starter.
> Those global variables are static (I mean C keyword here) and completely
> hidden by accessor functions.

I'm thinking thread-safety. Not visibility.

All of the SVN libraries are intended to be completely thread-safe.

> GS> I believe warnings are a special case. Most functions will return
> GS> errors rather than warnings. For those that *do* return warnings, they
> GS> can return a special structure for it.
> Singletons are well-defined and well-understood concept and imho they suit
> perfectly here.

I know what singletons are :-), but can agree to disagree on their relevance
to this problem.


Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:21 2006

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.