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

Re: general pool problem

From: Daniel L. Rall <dlr_at_collab.net>
Date: 2000-08-17 02:23:18 CEST

Greg Stein wrote:
>
> On Wed, Aug 16, 2000 at 04:48:12PM -0700, Daniel L. Rall wrote:
> >...
> > Would a global pool drawn on by callers of svn_error constructors be out
> > of the question?
>
> Yup. That would presumably be stashed into a global variable.
>
> Bam! Now you just lost your thread safety. :-)
>
> SVN "needs" to be thread-safe. (I put quotes because I'm not sure if that
> has been articulated formally yet; it is my opinion, tho :-)

You could just use a mutex (or some locking scheme)...but I didn't
really like the idea that much anyway. What's a less complicated way?

-- 
Daniel Rall <dlr@collab.net>
http://collab.net/ | open source | do the right thing
Received on Sat Oct 21 14:36:06 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.