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

Kuba (Brecka) Mracek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 09:41:46 PST 2017


kubamracek added a comment.

And also please factor out the validation of tid.  These 3 things are independent separate fixes and should be separate patches:

1. The extra validation in `BlockingMutex` and `RWMutex`.
2. Renaming of `GetTid`.
3. Changing the mutex of `ThreadRegistry` to be `RWMutex`.


https://reviews.llvm.org/D29588





More information about the llvm-commits mailing list