MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / call_once_py_init

Function call_once_py_init

src/python/python_runtime.cpp:634–636  ·  view source on GitHub ↗

Initialization guards

Source from the content-addressed store, hash-verified

632
633 // Initialization guards
634 void call_once_py_init(std::function<void()> fn) {
635 std::call_once(g_py_init_once, std::move(fn));
636 }
637
638 void call_once_redirect(std::function<void()> fn) {
639 std::call_once(g_redirect_once, std::move(fn));

Callers 1

ensure_initializedFunction · 0.85

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected