]> git.notmuchmail.org Git - notmuch/commit
lib: thread-safe s-expression query parser
authorKevin Boulain <kevin@boula.in>
Sun, 27 Aug 2023 12:31:02 +0000 (14:31 +0200)
committerDavid Bremner <david@tethera.net>
Thu, 25 Jul 2024 10:15:02 +0000 (19:15 +0900)
commita1921a25b71b23335ac01db7fc2f5462bf5edd3a
treeb286dbb1fc485d984f0120ea950c1a6634ae327f
parentb8fe20f339677ae54bbc1bc606bd08ef551a2974
lib: thread-safe s-expression query parser

Follow-up of 6273966d, now that sfsexp 1.4.1 doesn't rely on globals
anymore by default (https://github.com/mjsottile/sfsexp/issues/21).

This simply defers the initial query generation to use the thread-safe
helper (xapian_query_match_all) instead of Xapian::Query::MatchAll.
lib/parse-sexp.cc
test/T810-tsan.sh