[Lldb-commits] [PATCH] D59957: Convert = operators that take object mutexes to the multi-lock version of std::lock

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 28 23:33:17 PDT 2019


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





More information about the lldb-commits mailing list