- User Since
- Apr 18 2015, 8:14 AM (248 w, 4 d)
Jul 10 2018
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.