clayborg requested changes to this revision.
clayborg added inline comments.
This revision now requires changes to proceed.
================
Comment at: source/Plugins/Platform/POSIX/PlatformPOSIX.cpp:1046-1047
+ {
+ static std::mutex do_dlopen_mutex;
+ std::lock_guard<std::mutex> lock(do_dlopen_mutex);
+
----------------
We should put the mutex, or better yet a std::once_flag, in the process as an
instance variable. The utility function belongs to each process.
https://reviews.llvm.org/D46733
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits