unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob cf29200fedaa52dcd6fc2f9292ef04f3a5248ac7 351 bytes (raw)
name: lib/init.cc 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
#include "notmuch-private.h"

#include <mutex>

static void do_init ()
{
    /* Initialize the GLib type system and threads */
#if ! GLIB_CHECK_VERSION (2, 35, 1)
    g_type_init ();
#endif

    g_mime_init ();
    _notmuch_filter_init ();
}

void
_notmuch_init ()
{
    static std::once_flag initialized;
    std::call_once (initialized, do_init);
}

debug log:

solving cf29200f ...
found cf29200f in https://yhetil.org/notmuch.git/

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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).