search for: must_deadlock

Displaying 1 result from an estimated 1 matches for "must_deadlock".

2015 Sep 08
2
[ThreadSanitizer] Get deadlocks working
...nd the compiler-rt thread sanitizer tool and have > recently started experimenting with it. In particular, I'm interested in the > deadlock detector. > > I see that deadlock detection currently don't work. (I tried with a few > simple deadlocks, as well as the test case "must_deadlock.cc" that is in the > test-suite). I understand from the comments that this is because the real > pthread_mutex_lock() is called before the handler (MutexLock()) in tsan. > > 1. Is there any particular reason that this interceptor is designed this > way? Can there be a callback p...