From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id EBF47431FAF for ; Sun, 22 Apr 2012 08:09:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bl2yzHjXGVEc for ; Sun, 22 Apr 2012 08:09:22 -0700 (PDT) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 1E167431FAE for ; Sun, 22 Apr 2012 08:09:21 -0700 (PDT) Received: by eaa1 with SMTP id 1so4516282eaa.26 for ; Sun, 22 Apr 2012 08:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=LO3BdKTf8ZwRRNWZWpe/Wr3fwAiOxlCzEAnqXmuBDRs=; b=wtxuQr1vuqN9KMCwsRs515bMn2w4CTJ6v517y/Y3E3Nu9+GZARe4BDGteXWSff935d yWkJe/l5IytSnkSS2JbohsB/XFiw5Td6Y4PwSX+DHF2v6GWgbVO6vfJYzPT04PV9bDv/ QnEcM4YMg8Usa3bvWEKH6j6i9wmXFnnC8YIe+ChpAwmp/73wETXxTGF+FSMu4jQP7R++ 60ThekCor9B2PWpgyAhHOk/UCjuJH5fzJ0/jEX3MpwjKCyA4XieE5elisZhdJkHzURuQ L/jXf377/jvsBb+SfLb5ho5kZCVC163GnSTpKUlZR7CATr4d07Mc4kVpi/qLDJJDU8d+ P30A== MIME-Version: 1.0 Received: by 10.14.96.129 with SMTP id r1mr2086776eef.86.1335107359503; Sun, 22 Apr 2012 08:09:19 -0700 (PDT) Received: by 10.213.103.18 with HTTP; Sun, 22 Apr 2012 08:09:19 -0700 (PDT) In-Reply-To: <1335096477-27537-2-git-send-email-4winter@informatik.uni-hamburg.de> References: <20120422120620.26225.40778@thinkbox.jade-hamburg.de> <1335096477-27537-1-git-send-email-4winter@informatik.uni-hamburg.de> <1335096477-27537-2-git-send-email-4winter@informatik.uni-hamburg.de> Date: Sun, 22 Apr 2012 18:09:19 +0300 Message-ID: Subject: Re: [PATCH 2/7] NEWS: Document the notmuch_database_close split From: Felipe Contreras To: Justus Winter <4winter@informatik.uni-hamburg.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2012 15:09:23 -0000 On Sun, Apr 22, 2012 at 3:07 PM, Justus Winter <4winter@informatik.uni-hamburg.de> wrote: > Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> > --- > =C2=A0NEWS | =C2=A0 12 ++++++++++++ > =C2=A01 file changed, 12 insertions(+) > > diff --git a/NEWS b/NEWS > index c1704e0..a2cd080 100644 > --- a/NEWS > +++ b/NEWS > @@ -73,6 +73,18 @@ leaving Mutt. =C2=A0notmuch-mutt, formerly distributed= under the name > =C2=A0"mutt-notmuch" by Stefano Zacchiroli, will be maintained as a notmu= ch > =C2=A0contrib/ from now on. > > +Library changes > +--------------- > + > +API changes > + > + =C2=A0The function notmuch_database_close has been split into > + =C2=A0notmuch_database_close and notmuch_database_destroy. > + > + =C2=A0This makes it possible for long running programs to close the xap= ian > + =C2=A0database and thus release the lock associated with it without > + =C2=A0destroying 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. --=20 Felipe Contreras