[PATCH] D10480: Implement shared_mutex re: N4508

Kenneth Camann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 10 14:16:01 PDT 2018


kjcamann added a comment.

I have recently benchmarked this (platform was RHEL 7 and Haswell), and the libc++ version has about twice the latency of a pthread_rwlock for both classes of locking. libc++ is also about twice the latency of the libstdc++ implementation, because it is just a lightweight wrapper around pthread_rwlocks.


https://reviews.llvm.org/D10480





More information about the cfe-commits mailing list