clayborg marked 2 inline comments as done.
clayborg added inline comments.

================
Comment at: tools/lldb-vscode/lldb-vscode.cpp:2646
+        g_vsc.out = fdopen(socket_fd, "w");
+        if (g_vsc.in == nullptr || g_vsc.out == nullptr) {
+          if (g_vsc.log)
----------------
The mutex isn't the problem, it is being able to read and write from the in and 
out streams. So adding a mutex to VSCode won't help. We have very simple 
interactions with in and out where we read lines and read a specific amount of 
data, and we just write data out.


https://reviews.llvm.org/D50365



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

Reply via email to