]> wimlib.net Git - wimlib/blobdiff - src/wimlib.h
Refactor error functions; make re-entrant
[wimlib] / src / wimlib.h
index 1de5d045801bb5eeb09300a748c1a8d9e932cc6b..55289fe91dda2e2073f31403e306b7e9b91f9552 100644 (file)
  *
  * 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().
  *