MCPcopy Create free account
hub / github.com/Tencent/MMKV / ThreadOnce

Method ThreadOnce

Core/ThreadLock.cpp:69–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void ThreadLock::ThreadOnce(ThreadOnceToken_t *onceToken, void (*callback)()) {
70 pthread_once(onceToken, callback);
71}
72
73} // namespace mmkv
74

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected