MCPcopy Create free account
hub / github.com/acl-dev/acl / init_once

Function init_once

harmony/api12/acl_one/acl/src/main/cpp/logger.cpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107static void init_once() {
108 s_write_callback = write_callback;
109 acl_msg_register(open_callback, nullptr, log_callback, nullptr);
110 acl_msg_open("dummy.txt", "dummy");
111}
112
113static acl_pthread_once_t s_init_once = ACL_PTHREAD_ONCE_INIT;
114

Callers

nothing calls this directly

Calls 2

acl_msg_registerFunction · 0.85
acl_msg_openFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…