Thanks, @BrettRD. One of our main concerns right now is that all *_init_*() functions are not thread-safe. Check here for example.