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

Re: svn commit: r29773 - branches/in-memory-cache

From: David Glasser <glasser_at_davidglasser.net>
Date: Tue, 11 Mar 2008 18:18:49 -0700

On Tue, Mar 11, 2008 at 5:14 PM, Daniel L. Rall <dlr_at_finemaltcoding.com> wrote:
> On Fri, 07 Mar 2008, David Glasser wrote:
>
> > On Fri, Mar 7, 2008 at 4:22 PM, Blair Zajac <blair_at_orcaware.com> wrote:
> ...
>
> > > What about thread safety? Are you going to address that?
> >
> > Good point. Options:
> >
> > * Not thread safe at all. Caller must do mutexes.
> >
> > * Always thread safe (if APR_HAS_THREADS).
> >
> > * Boolean to constructor.
>
> Would all current users go one way with that? If so, which?

I implemented it as "boolean to constructor". There are things in the
FSFS code that are shared between all threads accessing a FS, and
things that are single-threaded.

--dave

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-12 02:19:02 CET

This is an archived mail posted to the Subversion Dev mailing list.