[Lldb-commits] [PATCH] Make it possible to stop the operation thread in NativeProcessLinux

Oleksiy Vyalov ovyalov at google.com
Mon Mar 2 18:12:31 PST 2015


REPOSITORY
  rL LLVM

================
Comment at: lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp:3568
@@ -3559,2 +3567,3 @@
     StopOpThread();
+    StopMonitoringChildProcess();
     StopCoordinatorThread ();
----------------
Actually, I meant such sequence:

```
StopMonitoringChildProcess(); // en-queues PTRACE & TSC commands 
StopCoordinatorThread (); // en-queues PTRACE commands
StopOpThread();
```

In this case, StopOpThread is executed when there is nobody around who can issue a PTRACE request.

http://reviews.llvm.org/D7937

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






More information about the lldb-commits mailing list