remove ThreadLock & InterProcessLock from MMKV public header

This commit is contained in:
guoling
2020-01-03 18:52:00 +08:00
parent 7239667dfd
commit 455b9d840c
15 changed files with 72 additions and 49 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
namespace mmkv {
FileLock::FileLock(MMKV_FILE_HANDLE fd, bool isAshmem)
FileLock::FileLock(MMKVFileHandle_t fd, bool isAshmem)
: m_fd(fd), m_sharedLockCount(0), m_exclusiveLockCount(0), m_isAshmem(isAshmem) {
m_lockInfo.l_type = F_WRLCK;
m_lockInfo.l_start = 0;