Re: [DRAFT 0/1] lib: replace some uses of Query::MatchAll with a thread-safe alternative

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

To: Kevin Boulain, notmuch@notmuchmail.org

Cc: Kevin Boulain

From: David Bremner


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.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: