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

Re: FS vtable common_pool and pack_fs/recover

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 21 Aug 2012 21:46:14 +0100

Philip Martin wrote on Tue, Aug 21, 2012 at 20:42:55 +0100:
> Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:
>
> > Philip Martin wrote on Tue, Aug 21, 2012 at 18:00:23 +0100:
> >> Functions like fs_library_vtable_t.pack_fs and
> >> fs_library_vtable_t.recover that don't take the common_pool parameter
> >> pass the pool parameter to fs_serialized_init. I think that means these
> >> functions should only be used from a single threaded process.
> >>
> >> Is that correct? If so we should document it or change the functions to
> >> handle the common_pool.
> >>
> >
> > I think the correct fix is to propagate common_pool to have fs_pack()
> > and pass it as to the appropriate parameter of fs_serialized_init().
>
> Yes, I think that would be correct. It's probably possible to backport
> to 1.7 since these functions are all private.
>

+1
Received on 2012-08-21 22:47:01 CEST

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.