Use PT_KILL to kill the stopped process. This ensures that the process
termination is reported properly and fixes delay/error on killing it.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
FWIW, PTHREAD_KILL is strongly discouraged on linux. But if the situation is different on freebsd, then fine.
Comment Actions
I think you mean PTRACE_KILL. PT_KILL is fine for BSDs and in case when it is not, it should be fixed.