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

Method unlock

Core/ThreadLock_Win32.cpp:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void ThreadLock::unlock() {
50 LeaveCriticalSection(&m_lock);
51}
52
53void ThreadLock::ThreadOnce(ThreadOnceToken_t *onceToken, void (*callback)()) {
54 if (!onceToken || !callback) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected