[Lldb-commits] [PATCH] Fix race condition with -o "process launch" on linux
Greg Clayton
clayborg at gmail.com
Thu Mar 5 09:40:24 PST 2015
If you hijack events, you must undo this by calling:
process_sp->RestoreProcessEvents();
================
Comment at: source/Plugins/Platform/Linux/PlatformLinux.cpp:804
@@ -803,3 +801,2 @@
const StateType state = process_sp->WaitForProcessToStop (NULL, NULL, false, listener_sp.get());
- process_sp->RestoreProcessEvents();
----------------
If you hijack event above, you must unhijack by calling:
```
process_sp->RestoreProcessEvents();
```
So you can't remove this. It was a NOP before because it wasn't doing anything, but if you do hijack events, then you must unhijack.
http://reviews.llvm.org/D8079
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the lldb-commits
mailing list