[compiler-rt] [llvm] [tsan] Introduce Adaptive Delay Scheduling to TSAN (PR #178836)

Chris Cotter via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 14 22:52:49 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:

https://github.com/dvyukov/relacy/blob/master/relacy/stdlib/condition_variable.hpp#L161 - Is this the same question? I don't have the answer; I'm not sure. In any case as I mentioned in another reply thread, I've removed the delays for now...

https://github.com/llvm/llvm-project/pull/178836


More information about the llvm-commits mailing list