[PATCH] D38704: [libunwind] Emulate pthread rwlocks via SRW locks for windows
David Majnemer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 14 21:32:44 PDT 2017
majnemer added a comment.
I don't think we should depend on LLVM for the locking stuff. This sort of infrastructure is in the same bucket as the demangler which we haven't really solved.
I *do* find it weird to do it this way though. I think you should have some mutex functions which include read/write unlock. This way you don't need the weird state.
More information about the cfe-commits