summaryrefslogtreecommitdiffstats
path: root/Python/generated_cases.c.h
diff options
context:
space:
mode:
authorDino Viehland <dinoviehland@meta.com>2024-04-30 18:38:05 (GMT)
committerGitHub <noreply@github.com>2024-04-30 18:38:05 (GMT)
commit4a1cf66c5c0afa36d7a51d5f9d3874cda10df79c (patch)
tree3a37a8d9e9758ba71ad558a051324c20e140c777 /Python/generated_cases.c.h
parent1f16b4ce569f222af74fcbb7b2ef98eee2398d20 (diff)
downloadcpython-4a1cf66c5c0afa36d7a51d5f9d3874cda10df79c.zip
cpython-4a1cf66c5c0afa36d7a51d5f9d3874cda10df79c.tar.gz
cpython-4a1cf66c5c0afa36d7a51d5f9d3874cda10df79c.tar.bz2
gh-117657: Fix small issues with instrumentation and TSAN (#118064)
Small TSAN fixups for instrumentation
Diffstat (limited to 'Python/generated_cases.c.h')
-rw-r--r--Python/generated_cases.c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h
index 7c1cc14..a5bb293 100644
--- a/Python/generated_cases.c.h
+++ b/Python/generated_cases.c.h
@@ -4955,7 +4955,7 @@
if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
CHECK_EVAL_BREAKER();
}
- this_instr->op.code = RESUME_CHECK;
+ FT_ATOMIC_STORE_UINT8_RELAXED(this_instr->op.code, RESUME_CHECK);
}
DISPATCH();
}