Re: [PATCH] Perform mail polling asynchronously

Subject: Re: [PATCH] Perform mail polling asynchronously

Date: Fri, 06 Jan 2012 14:09:57 +0300

To: David Edmondson

Cc: notmuch@notmuchmail.org

From: Antono Vasiljev


On Tue, 2012-01-03 at 16:02 +0000, David Edmondson wrote:

> On Mon,  5 Sep 2011 07:14:36 +0300, Antono Vasiljev <self@antono.info> wrote:
> >   * reimplemented notmuch-poll(&optional callback) so that it
> >     calls process asynchronously and run callback after process
> >     finished
> >   * changed usage of notmuch-poll in notmuch-hello-poll-and-update
> >     and notmuch-search-poll-and-refresh-view
> 
> I don't understand the real purpose of this patch.

> If the poll script runs asynchronously, won't the notmuch-search output
> refresh and jump into my face when I'm busy doing something else? And,
> if I'm not busy doing something else, why can't I just wait for the poll
> script to complete?

Sync io sucks.
Just drop it if you do not like. I don't use notmuch anymore so i dont
care.




Thread: