Skip to content

Commit 10d693d

Browse files
committed
Use release instead of seq_cst
1 parent d24dc3a commit 10d693d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/dictobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,7 @@ invalidate_and_clear_inline_values(PyDictValues *values)
19571957
assert(values->embedded);
19581958
FT_ATOMIC_STORE_UINT8(values->valid, 0);
19591959
for (int i = 0; i < values->capacity; i++) {
1960-
FT_ATOMIC_STORE_PTR(values->values[i], NULL);
1960+
FT_ATOMIC_STORE_PTR_RELEASE(values->values[i], NULL);
19611961
}
19621962
}
19631963

0 commit comments

Comments
 (0)