[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: Ben Collins-Sussman <sussman_at_newton.collab.net>
Date: 2000-08-17 16:21:11 CEST

Karl Fogel <kfogel@galois.collab.net> writes:

> This means that, like, virtually everything in Subversion has to take
> a pool argument, even the delta-walker callback functions, for
> example. It's not a huge pain, but it means adding an extra argument
> to many functions.

I don't think there's any complexity problem, really. In your
example, Karl, yes, all the walker callback functions require a pool.
But that's why you have the global "walk_baton" being passed back to
you. Either make your walk_baton a pool, or stash a pool inside it.
No big deal.

Similarily, I have a pool inside my "digger" structure, which expat is
passing to all of my callbacks.
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.