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

Re: [PATCH] why not loop through apr_hash_t with pool as NULL.

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-10-06 23:25:01 CEST

On 10/6/06, Philip Martin <philip@codematters.co.uk> wrote:
> Kamesh Jayachandran <kamesh@collab.net> writes:
>
> > Found a snippet of code in subversion/libsvn_fs_base/tree.c where we
> > create a separate subpool which is passed to apr_hash_first alone. And
> > this subpool can be replaced by NULL.
>
> Not thread safe.

Is that hash table actually accessed from multiple threads? The vast
majority of our code consists of data structures that are not shared
among more than oen thread...

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 6 23:25:17 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.