1. 8
  1.  

  2. 1

    Can SIGSTOP be used with similar effect?

    1. 2

      PTRACE_ATTACH sends SIGSTOP to this thread.

      http://man7.org/linux/man-pages/man2/ptrace.2.html

      I’m not clear on what the benefits of using PTRACE_ATTACH over SIGSTOP is but I think it’s that you actually get a tracer connection to the thread/process?