friss added a comment.

In D60468#1460013 <https://reviews.llvm.org/D60468#1460013>, @clayborg wrote:

> Almost seems like we can build the mutex into the base class OptionValue as 
> we need general threaded protection for every setting. They any function that 
> gets or sets the value should be able to protect itself using the base mutex


If we generalize this to most other properties, then this would make sense. 
Note that all properties that store very simple types don't need this, as they 
don't risk being accessed in a broken state.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60468/new/

https://reviews.llvm.org/D60468



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to