* Refactor: reimplement lock
Signed-off-by: junxiang Mu <[email protected]>
* Fix: fix test case failed
Signed-off-by: junxiang Mu <[email protected]>
* Improve: lock pref
Signed-off-by: junxiang Mu <[email protected]>
* fix(lock): Fix resource cleanup issue when batch lock acquisition fails
Ensure that the locks already acquired are properly released when batch lock acquisition fails to avoid memory leaks
Improve the lock protection mechanism to prevent double release issues
Add complete Apache license declarations to all files
Signed-off-by: junxiang Mu <[email protected]>
---------
Signed-off-by: junxiang Mu <[email protected]>