david at tethera.net
Fri Dec 21 22:11:30 PST 2018
Dirk Van Haerenborgh <vhdirk at gmail.com> writes:
> For the most part, that's what I ended up with, but the thread 'stealing' a
> message will be quite hard to implement in Rust, I guess.
> When using notmuch_query_search_messages, I was assuming the resulting
> individual messages to be owned by the query.
> So, if at a later point in time, one uses notmuch_query_search_threads,
> will the ownership of a previous message abruptly be
> transferred from query to thread?
> I do want to be able to run *_destroy at some point :)
It's still (transitively) owned by the query in that case, since the
threads are owned by the query.
More information about the notmuch