[PATCH] D29588: Use rw locks for sanitizer thread registry

Dmitry Vyukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 02:01:53 PST 2017


dvyukov added a comment.

> Sharing a mutex access across threads like this is not supported by blocking mutex

Why?
I've checked BlockingMutex comments and linux/mac/win implementation. I don't see any indication that it's not supported.
How is RWMutex different?
How does the problem manifest? What is the scenario that demonstrated the problem?


https://reviews.llvm.org/D29588





More information about the llvm-commits mailing list