On Sun, Apr 22, 2012 at 3:07 PM, Justus Winter <4winter at informatik.uni-hamburg.de> wrote: > Signed-off-by: Justus Winter <4winter at informatik.uni-hamburg.de> > --- > ?NEWS | ? 12 ++++++++++++ > ?1 file changed, 12 insertions(+) > > diff --git a/NEWS b/NEWS > index c1704e0..a2cd080 100644 > --- a/NEWS > +++ b/NEWS > @@ -73,6 +73,18 @@ leaving Mutt. ?notmuch-mutt, formerly distributed under > the name > ?"mutt-notmuch" by Stefano Zacchiroli, will be maintained as a notmuch > ?contrib/ from now on. > > +Library changes > +--------------- > + > +API changes > + > + ?The function notmuch_database_close has been split into > + ?notmuch_database_close and notmuch_database_destroy. > + > + ?This makes it possible for long running programs to close the xapian > + ?database and thus release the lock associated with it without > + ?destroying the data structures obtained from it. > +
I haven't following this change. Who can an application take advantage of this? I call _close(), now what do I do to use the database again? Cheers. -- Felipe Contreras