labath added a comment.
Herald added a subscriber: JDevlieghere.

This still leaves the possibility of a race where the process stops on its own 
while you're in the process of sending the signal, right?

I believe that on linux we handling this by checking the stopped events: If the 
application stopped due to a signal from us (siginfo->si_pid == getpid()) *and* 
we're not currently trying to stop a process, then we transparently resume it. 
Maybe you need to do the same here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126770/new/

https://reviews.llvm.org/D126770

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

Reply via email to