[compiler-rt] [llvm] [tsan] Introduce Adaptive Delay Scheduling to TSAN (PR #178836)
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 15 02:15:52 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();
----------------
dvyukov wrote:
Right. But as you said, we can add the delay later if we get understanding and an actual case when it's needed.
cond wait/signal is semantically no-op, so for now I would assume they don't need delays.
https://github.com/llvm/llvm-project/pull/178836
More information about the llvm-commits
mailing list