[Xapian-discuss] Terminating a Xapian query

James Aylett james-xapian at tartarus.org
Sat Sep 26 13:58:15 BST 2009


On Fri, Sep 25, 2009 at 05:28:55PM +0100, Olly Betts wrote:

> > I was actually thinking of having the database held open by another
> > thread, so the searching thread is never responsible for its final
> > destruction.
> 
> OK, that sounds plausible and would solve the fd part but you'll still
> get leaks from not calling destructors of objects with automatic scope.

Bah. So we'd need something on the order of memory pools; or the
suggestion of a polling function (the latter of which sounds evil).

J

-- 
  James Aylett

  talktorex.co.uk - xapian.org - uncertaintydivision.org



More information about the Xapian-discuss mailing list