Kevin Boulain 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
Hey,
Here's a draft patch previously discussed in
https://nmbug.notmuchmail.org/nmweb/show/87ilfvq3bc.fsf%40boula.in
See the commit's message for more information.
Unfortunaly this only covers two third of the usages of
Xapian::Query::MatchAll, in lib/query.cc and lib/regexp-fields.cc.