-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use binary bits to determine the number of partitions (#919)
## Related Issues Prepare for #914 ## Detailed Changes - Modify the type of `partitions` in `PartitionedMutex` and `PartitionedRwLock`. - Fix the bug that multiple partitions use the same lock. ## Test Plan Unit tests under the same file.
- Loading branch information
1 parent
6051546
commit 0317948
Showing
1 changed file
with
61 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters