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

Method destroyAndUnLock

Core/InterProcessLock.cpp:203–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void FileLock::destroyAndUnLock() {
204 platformUnLock(false);
205
206 m_sharedLockCount = 0;
207 m_exclusiveLockCount = 0;
208 m_fd = MMKVFileHandleInvalidValue;
209}
210
211} // namespace mmkv

Callers 2

mmapOrCleanupMethod · 0.80
mmapOrCleanupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected