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

Method lock_thread

Core/MMKV.cpp:1233–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1231
1232#ifndef MMKV_WIN32
1233void MMKV::lock_thread() {
1234 m_lock->lock();
1235}
1236void MMKV::unlock_thread() {
1237 m_lock->unlock();
1238}

Callers

nothing calls this directly

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected