- move init_thread_library in papihighlevel.c in init_library (the constructor is only called once)