KernelAddress

Results comments of KernelAddress

Alexey, what function do we use for demangling in llvm-symbolizer by default? Is it __cxxabiv1::__cxa_demangle?

Eric, Sorry for the delay, I was OOO. I don't think that I did any work on condvar in the last months. cond_wait interceptor always released and reaqcuired the mutex....

What's wrong with my reasoning? Condition variables are semantical no-ops, so there is nothing to model.

No work seems to be planned/happening on this. It does not make lots of sense to keep opened bugs for all possible OSes/processors. Ulrich, please reopen if you plan any...

Mailed http://reviews.llvm.org/D10693

oh, the main thread is meant to do: pthread_cond_signal(&c); pthread_mutex_unlock(&m); pthread_cond_destroy(&c); As far as I understand it is actually safe to do any of: 1. pthread_cond_signal(&c); pthread_mutex_unlock(&m); pthread_cond_destroy(&c); 2. pthread_mutex_unlock(&m);...

Re minimal reproducer in: https://github.com/llvm-mirror/libcxx/blob/master/test/std/thread/thread.condition/thread.condition.condvar/destructor.pass.cpp Are 3 threads really required for minimal reproducer? Doesn't the following do the same? pthread_mutex_t m; pthread_cond_t c; bool done1, done2; void *thr(void *p) {...

Doh! How could I miss this for all this time! I learned about this issue in old comp.programming.threads mails. But now that I re-read them, there is lots of complaints...

Tsan does not do any special treatment of std::condition_variable. It intercepts just pthread_cond. And the interceptors for pthread_cond are [presumably] correct (pthread_cond_destroy does not permit threads to remain somewhere in...