notmuch's idea of concurrency / failing an invocation
Mike Kelly
pioto at pioto.org
Sat Jan 29 08:10:08 PST 2011
On Fri, 28 Jan 2011 11:57:34 -0500
Austin Clements <amdragon at mit.edu> wrote:
> Yes, exactly. All of this. Unfortunately, Xapian doesn't expose the
> ability to block on the lock (see the fcntl call in
> backends/flint_lock.cc, which is hard-coded to the non-blocking
> F_SETLK instead of F_SETLKW), so we'd either need a new Xapian
> option, or we would just have to wrap our own flock/fcntl lock around
> things as you suggest.
Hrm. Do you know if Xapian upstream would be open to a patch to support
optional blocking locks? We can't be the only ones hitting these sorts
of issues.
--
Mike Kelly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110129/6a776456/attachment.pgp>
More information about the notmuch
mailing list