mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 22:08:41 +00:00
fix incorrect lock type in hs key closing path
This commit is contained in:
@@ -285,7 +285,7 @@ hs_key_close(U128 key)
|
|||||||
U64 hash_stripe_idx = hash_slot_idx%hs_shared->stripes_count;
|
U64 hash_stripe_idx = hash_slot_idx%hs_shared->stripes_count;
|
||||||
HS_Slot *hash_slot = &hs_shared->slots[hash_slot_idx];
|
HS_Slot *hash_slot = &hs_shared->slots[hash_slot_idx];
|
||||||
HS_Stripe *hash_stripe = &hs_shared->stripes[hash_stripe_idx];
|
HS_Stripe *hash_stripe = &hs_shared->stripes[hash_stripe_idx];
|
||||||
OS_MutexScope(hash_stripe->rw_mutex)
|
OS_MutexScopeR(hash_stripe->rw_mutex)
|
||||||
{
|
{
|
||||||
for(HS_Node *n = hash_slot->first; n != 0; n = n->next)
|
for(HS_Node *n = hash_slot->first; n != 0; n = n->next)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user