Multiple threads can enter the read lock and all store the new empty set to account_maps. Check again after taking write lock to make sure only one thread actually inserts the new entry. |
||
---|---|---|
.. | ||
benches | ||
src | ||
.gitignore | ||
Cargo.toml |
Multiple threads can enter the read lock and all store the new empty set to account_maps. Check again after taking write lock to make sure only one thread actually inserts the new entry. |
||
---|---|---|
.. | ||
benches | ||
src | ||
.gitignore | ||
Cargo.toml |