Re: [Paul Wise] Bug#843127: notmuch: race condition in `notmuch new`?

Subject: Re: [Paul Wise] Bug#843127: notmuch: race condition in `notmuch new`?

Date: Mon, 14 Nov 2016 12:44:02 -0600

To: Austin Clements

Cc: David Bremner, 843127@bugs.debian.org, notmuch@notmuchmail.org, Paul Wise

From: J. Lewis Muir


On 11/12, Austin Clements wrote:
> Quoth David Bremner on Nov 04 at  1:26 pm:
> > I agree it looks like a race condition. inotify sounds a bit
> > overcomplicated and perhaps non-portable? It should probably just
> > tolerate disappearing files better, consider that a warning.
> 
> Inotify really *is* the solution.

I don't see how inotify can be the solution unless the idea is to make
Notmuch run on Linux only.  Inotify is a Linux kernel API.  Some other
OSes have their own native file event notification facilities, but not
all of them have it, and most (if not all) only support file event
notifications for certain file systems and not for others (e.g., not for
NFS).

Regards,

Lewis

Thread: