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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D10480: Implement s... David Chisnall via Phabricator via cfe-commits
    • [PATCH] D10480: Implem... Kenneth Camann via Phabricator via cfe-commits

Reply via email to