[compiler-rt] [llvm] [tsan] Introduce Adaptive Delay Scheduling to TSAN (PR #178836)
Chris Cotter via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 13 12:48:39 PST 2026
================
@@ -1371,20 +1383,23 @@ INTERCEPTOR(int, pthread_cond_signal, void *c) {
void *cond = init_cond(c);
SCOPED_TSAN_INTERCEPTOR(pthread_cond_signal, cond);
MemoryAccessRange(thr, pc, (uptr)c, sizeof(uptr), false);
+ GetFuzzingScheduler().MutexCvOp();
----------------
ccotter wrote:
Although, to really catch what I suggested above, the delay would need to be after the real pthread_cond_signal/broadcast call. If we can't find a good reason for this to do delays, I will remove it.
https://github.com/llvm/llvm-project/pull/178836
More information about the llvm-commits
mailing list