unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Kevin Boulain <kevin@boula.in>, notmuch@notmuchmail.org
Cc: Kevin Boulain <kevin@boula.in>
Subject: Re: [DRAFT 0/1] lib: replace some uses of Query::MatchAll with a thread-safe alternative
Date: Sun, 26 Feb 2023 08:08:08 -0400	[thread overview]
Message-ID: <87bklgvdcn.fsf@tethera.net> (raw)
In-Reply-To: <20230225174601.3394923-1-kevin@boula.in>

Kevin Boulain <kevin@boula.in> writes:

>
> Thoughts? Should clients using the library gate every function call to
> Notmuch behind a lock instead?

Ideally that should not be necessary. On the other hand, it may take some time to fix
issues with concurrent access.

> I can also start a discussion in sfsexp's issue tracker.

Yes please. I guess in worst case we can implment come kind of
concurrency control to sfsexp (wrap calls in libnotmuch inside some
mutex), although that sounds pretty far from ideal.

  parent reply	other threads:[~2023-02-26 12:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-25 17:46 [DRAFT 0/1] lib: replace some uses of Query::MatchAll with a thread-safe alternative Kevin Boulain
2023-02-25 17:46 ` [DRAFT 1/1] " Kevin Boulain
2023-02-26 12:18   ` David Bremner
2023-02-26 12:08 ` David Bremner [this message]
2023-03-02 17:59   ` [PATCH " Kevin Boulain
2023-03-31 11:20     ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bklgvdcn.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=kevin@boula.in \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).