20 Commits

Author SHA1 Message Date
guoling ac1817575d fix fcntl() OFD lock failure on ashmem #261 #1637 2026-02-02 16:05:38 +08:00
guoling c708914c04 protect from delete file failure on corrupted files 2025-12-18 19:33:30 +08:00
guoling 4ad7236e0c dont depend on OS close() to unlock file locks, for Linux/Android flock() is buggy with mmap() 2025-05-07 14:23:41 +08:00
guoling 561d56ca75 adding mayfly fd on iOS 2025-04-18 17:16:26 +08:00
guoling 147f89dba7 migrate legacy mmap ID to normal ID 2025-01-06 15:58:01 +08:00
guoling 6f12ab05f0 1. fix FileLock not being unlock on destruct bug
2. use F_OFD_SETLK instead of F_SETLK on Android/Linux/OHOS
3. support pos and len on fctnl file locking
2025-01-06 15:55:52 +08:00
guoling 6957a363d5 apply the same fix for single-process mmkv 2020-09-11 21:07:38 +08:00
guoling 81187a86bc fix rare lock conflict on checkProcessMode() again 2020-09-11 19:25:27 +08:00
guoling 89f04a0683 tidy 2020-06-28 16:22:00 +08:00
guoling dd259b3169 add cplusplus check 2020-03-24 20:57:23 +08:00
guoling 177a2a3c68 tidy 2020-01-21 22:04:42 +08:00
guoling ffe9c90e24 add MMKV_ASSERT() 2020-01-21 15:45:01 +08:00
guoling 8a1d777302 type safe for pb utils 2020-01-03 16:37:40 +08:00
guoling dd24e5a5e6 type safety 2020-01-03 12:14:35 +08:00
guoling ebdac3eee9 tidy typename 2020-01-02 16:53:55 +08:00
guoling 3c61c8ea2c fix flock() bug on ashmem in Android 2019-12-30 21:21:42 +08:00
guoling 9364d0ccfd add relativePath support for iOS 2019-12-24 22:13:42 +08:00
guoling 88f72682bf tidy Win32 inter-process lock 2019-12-18 16:57:30 +08:00
guoling dabb3f6ba5 most things for Win32 actually work 2019-12-17 21:47:33 +08:00
guoling b3494159f7 prepare to use Core lib 2019-12-03 21:14:31 +08:00