X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwimlib.h;h=55289fe91dda2e2073f31403e306b7e9b91f9552;hp=1de5d045801bb5eeb09300a748c1a8d9e932cc6b;hb=80224de6c2ff870ea36ff98b491223c674e4d57a;hpb=7bde3fc590afbdef8f71cd7f8ccbd24172bffc63 diff --git a/src/wimlib.h b/src/wimlib.h index 1de5d045..55289fe9 100644 --- a/src/wimlib.h +++ b/src/wimlib.h @@ -118,7 +118,8 @@ * * wimlib is thread-safe as long as different ::WIMStruct's are used, except for * the fact that wimlib_set_print_errors() and wimlib_set_memory_allocator() - * both apply globally. + * both apply globally, and you also must call wimlib_global_init() in the main + * thread to avoid any race conditions with one-time allocations of memory. * * To open an existing WIM, use wimlib_open_wim(). *