Change to folly::SharedMutex
Summary: One (artificial) test case creates ~1000 threads, resulting in lots of spinning contending for this lock. Changing to folly::SharedMutex fixes the issue, allowing the actual working thread to finish. Reviewed By: magedm Differential Revision: D7847705 fbshipit-source-id: b2a8c3acdb4c62f347ef4ec761acbe7681ced9f3
Showing
Please register or sign in to comment