Tencent / MMKV

An efficient, small mobile key-value storage framework developed by WeChat. Works on Android, iOS, macOS, Windows, and POSIX.
Other
17.28k stars 1.9k forks source link

bugfix: trim sigbus #1244

Closed wangtao19930524 closed 6 months ago

wangtao19930524 commented 6 months ago

Fix sigbus issue when multiple processes simultaneously trim() by placing process locks before checkLoadData().

tencent-adm commented 6 months ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


MrWander seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.