labath accepted this revision. labath added a comment. This revision is now accepted and ready to land.
This looks great. Thank you. As of c++17 there will be an RAII way to do this https://en.cppreference.com/w/cpp/thread/scoped_lock. Theoretically we could jump ahead, and implement something like that ourselves, but there aren't too many uses of this pattern now, so it's not really necessary at this point. Repository: rLLDB LLDB CHANGES SINCE LAST ACTION https://reviews.llvm.org/D59957/new/ https://reviews.llvm.org/D59957 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits