[Lldb-commits] [PATCH] Fix race condition in Target::Launch

Ilia K ki.stfu at gmail.com
Mon Mar 23 15:42:48 PDT 2015


================
Comment at: source/Target/Target.cpp:2605-2606
@@ -2604,4 +2610,1 @@
                 {
-                    if (!synchronous_execution)
-                        m_process_sp->RestoreProcessEvents ();
-
----------------
Can we use a mixed code (for sync and async execution) to avoid copy-paste?

================
Comment at: source/Target/Target.cpp:2627
@@ -2625,2 +2626,3 @@
                         }
+                        m_process_sp->RestoreProcessEvents();
                     }
----------------
it's really needed?

http://reviews.llvm.org/D8562

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list