Re: How does notmuch track mails?
[notmuch-archives.git] / 32 / 8f46a67ef933a791ff6fdc942aeb34278f23f0
1 Return-Path: <tomi.ollila@iki.fi>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id B103F431FAF\r
6         for <notmuch@notmuchmail.org>; Sat, 24 Mar 2012 02:07:24 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id DCwLeCnCjecW for <notmuch@notmuchmail.org>;\r
16         Sat, 24 Mar 2012 02:07:24 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id 27A9E431FAE\r
19         for <notmuch@notmuchmail.org>; Sat, 24 Mar 2012 02:07:24 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 26E9768055; Sat, 24 Mar 2012 11:07:22 +0200 (EET)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Justus Winter <4winter@informatik.uni-hamburg.de>, notmuch@notmuchmail.org\r
24 Subject: Re: [RFC] Split notmuch_database_close into two functions\r
25 In-Reply-To:\r
26  <1332291311-28954-1-git-send-email-4winter@informatik.uni-hamburg.de>\r
27 References: <1332291311-28954-1-git-send-email-4winter@informatik.uni-hamburg.de>User-Agent: Notmuch/0.12+70~g598bf0a   (http://notmuchmail.org) Emacs/23.3.1\r
28  (x86_64-unknown-linux-gnu)\r
29 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
30         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
31         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
32 Date: Sat, 24 Mar 2012 11:07:22 +0200\r
33 Message-ID: <m2k42aicz9.fsf@guru.guru-group.fi>\r
34 MIME-Version: 1.0\r
35 Content-Type: text/plain; charset=us-ascii\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Sat, 24 Mar 2012 09:07:24 -0000\r
49 \r
50 Justus Winter <4winter@informatik.uni-hamburg.de> writes:\r
51 \r
52 > I propose to split the function notmuch_database_close into\r
53 > notmuch_database_close and notmuch_database_destroy so that long\r
54 > running processes like alot can close the database while still using\r
55 > data obtained from queries to that database.\r
56 >\r
57 > I've updated the tools, the go, ruby and python bindings to use\r
58 > notmuch_database_destroy instead of notmuch_database_close to destroy\r
59 > database objects.\r
60 \r
61 This looks like a good idea. grep _destroy *.c outputs plenty of\r
62 other matches so this is not a new term here. I wonder what (backward)\r
63 compability issues there are, though.\r
64 \r
65 In message id:"1332291311-28954-2-git-send-email-4winter@informatik.uni-hamburg.de"\r
66 there was typo in comment: notmuch_database_destroyed ?\r
67 \r
68 >\r
69 > Cheers,\r
70 > Justus\r
71 \r
72 Tomi\r