majnemer added a comment. slim reader-writer locks are faster than critical sections, I'd recommend your implementation switch to those.
Also, why do you use Fls instead of Tls? Repository: rL LLVM https://reviews.llvm.org/D28220 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits