Re: [PATCH] lib: Simplify close and codify aborting atomic section
authorW. Trevor King <wking@tremily.us>
Wed, 24 Sep 2014 20:29:39 +0000 (13:29 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:04:44 +0000 (10:04 -0800)
6a/409cfbb46ef90599203bce924f1e9576a4161f [new file with mode: 0644]

diff --git a/6a/409cfbb46ef90599203bce924f1e9576a4161f b/6a/409cfbb46ef90599203bce924f1e9576a4161f
new file mode 100644 (file)
index 0000000..f9467c6
--- /dev/null
@@ -0,0 +1,131 @@
+Return-Path: <wking@tremily.us>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1721F431FAF\r
+       for <notmuch@notmuchmail.org>; Wed, 24 Sep 2014 13:29:49 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 781ZTxqA43rO for <notmuch@notmuchmail.org>;\r
+       Wed, 24 Sep 2014 13:29:45 -0700 (PDT)\r
+Received: from resqmta-po-06v.sys.comcast.net (resqmta-po-06v.sys.comcast.net\r
+       [96.114.154.165])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 3F218431FC2\r
+       for <notmuch@notmuchmail.org>; Wed, 24 Sep 2014 13:29:42 -0700 (PDT)\r
+Received: from resomta-po-17v.sys.comcast.net ([96.114.154.241])\r
+       by resqmta-po-06v.sys.comcast.net with comcast\r
+       id v8V81o0055Clt1L018VhjR; Wed, 24 Sep 2014 20:29:41 +0000\r
+Received: from odin.tremily.us ([24.18.63.50])\r
+       by resomta-po-17v.sys.comcast.net with comcast\r
+       id v8Vf1o00e152l3L018VfeL; Wed, 24 Sep 2014 20:29:41 +0000\r
+Received: by odin.tremily.us (Postfix, from userid 1000)\r
+       id 2E9CB13AB278; Wed, 24 Sep 2014 13:29:39 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
+       t=1411590579; bh=hdHdQSwGCX4HLK6JNB94jR99PU4ar3c2lO3IpkraVo0=;\r
+       h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
+       b=nNKI8hkdcUZbKDo5uqSwpO8NZhk9cL/l/laNRSTkqFlm2ong2A0N+vF8PsZu4iCuz\r
+       gfYI54ljm/VkYbgUGVgYbl92B1DK4C9iOYO287RANHppwKC+TkMygGd7J9q1TJHNsh\r
+       FO1ClwP3Soz+zDzTMJI3xLN5IDgNBKMycDtumllc=\r
+Date: Wed, 24 Sep 2014 13:29:39 -0700\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: David Bremner <david@tethera.net>\r
+Subject: Re: [PATCH] lib: Simplify close and codify aborting atomic section\r
+Message-ID: <20140924202939.GD20130@odin.tremily.us>\r
+References: <1411400615-20934-1-git-send-email-amdragon@mit.edu>\r
+       <20140922165954.GI20827@odin.tremily.us>\r
+       <20140922185050.GB7970@csail.mit.edu>\r
+       <20140922190022.GO20827@odin.tremily.us>\r
+       <87iokc28mg.fsf@maritornes.cs.unb.ca>\r
+       <20140924181844.GB20130@odin.tremily.us>\r
+       <87d2ak253z.fsf@maritornes.cs.unb.ca>\r
+       <20140924194413.GC20130@odin.tremily.us>\r
+       <87a95o22vo.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+       protocol="application/pgp-signature"; boundary="M38YqGLZlgb6RLPS"\r
+Content-Disposition: inline\r
+In-Reply-To: <87a95o22vo.fsf@maritornes.cs.unb.ca>\r
+OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
+       url=http://tremily.us/pubkey.txt\r
+User-Agent: Mutt/1.5.23 (2014-03-12)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+       s=q20140121; t=1411590581;\r
+       bh=kYSfBdBonR8eg4nBni3iKXssNuj9vuT0RqMFO9Z/OlI=;\r
+       h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
+       MIME-Version:Content-Type;\r
+       b=p4pLQecWWIbiugcWR3BkWlujaCXtydo9pK6jTpWX/e3iOiWcGqmCZhED+8+Ix5H+Z\r
+       /qi4DtW0oMJL4BmQcpM0R6JdW90UEvYYoenq3XgK5sRFJAYuwbyscL7ZOBQ2CPTKv3\r
+       kflc54EnehqOaUQIiLJqxr/bOPEanpDcr1eKMTFBln7zEsY8SXbFUJkKAnn1FH6Rh5\r
+       2W98b+IEJNCpKWYkXcdd2GUvDrbPlTfA78/ZOZRmFHRQXpUuVxN8XbCriTa6ygI/T4\r
+       vZEVQKJYGk+PP5/FwVWzYjwV/padEw1vrF4F3HaI38ifxRwnthafw9Hb+yjl8iksei\r
+       tLSL+/PQpzqrw==\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 24 Sep 2014 20:29:49 -0000\r
+\r
+\r
+--M38YqGLZlgb6RLPS\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Wed, Sep 24, 2014 at 10:13:31PM +0200, David Bremner wrote:\r
+> W. Trevor King writes:\r
+> I think it would be better to write our own, not because of licensing\r
+> issues, but because the user of the notmuch API won't know what a xapian\r
+> commit is.\r
+\r
+Between version control and databases, I feel like most folks using\r
+libnotmuch will know what a commit is ;).  But I don't really mind, so\r
+long as the new docs mention it for non-atomic closes.\r
+\r
+Cheers,\r
+Trevor\r
+\r
+--=20\r
+This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
+For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
+\r
+--M38YqGLZlgb6RLPS\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2\r
+\r
+iQIcBAEBAgAGBQJUIymxAAoJEG8/JgBt8ol8A/QP/1UcQXx/IAh/TJs6bSUGnX4d\r
+aUe74uZnbykDiAiO/gr5bfx6Ismq5xJ7yH0SBsRLWJ043zmAVcqmDdjjUy1i3brp\r
+ssClrElnK8AzkakQsgYFaL7TyPFmIgDyo6i1DBTn0Ot2itJErCyoedx0p1lwID0J\r
+flZ7XtuqLa8UA87weXf1dLuugGiXIXhzls9+ANq8Iia5xdm23I39k1auHvyzpI1d\r
+bXrVsVedRisMrX4uIbSvehavpIfmTkcd1Nh6EOLcPQzeCD4hRia9Z4OBmXSHK3cu\r
+WCo6o8WUgilhP012JDedD0+ud7XzoRpcCqdrDwJaC2r5+JWjOUavd5aLBCDvf2Jw\r
+Tzqcolf0LFNG4WbgbltcbzzGQk0bEbnoCYYhK0pd0tQXEmfmnnX+mY4r8kFshz+Z\r
+Zhe1IUm636T48camvlWtzrDM26Ee5ElZ8fOHO/MoIYUjp+gaBv2PzWNFRm0MPbAn\r
+X1aG2m+6bmk1UYFPEBOVrO/bgqKkKRuunca0Qe/ZR1Fw4Shegv4KYISYOYzD/51n\r
++RR9ap0c4XeYU7GDB0SJFQbxIyBXvy/XVmJhhuAjnaS1EugMUxY5aCpruybTxHjx\r
+zquuPEl60b5cgXafFAJKWdRu8l6rTALRDyXx8TBAXDjOKpvHA6w1JoEIUmCP0uav\r
+APq0eevfwyRog1HTSYob\r
+=5C+i\r
+-----END PGP SIGNATURE-----\r
+\r
+--M38YqGLZlgb6RLPS--\r