I want to stop thread group of a process in user mode or kernel mode.
I found that we can send a signal SIGSTOP to the thread group leader
to implement that. But I don't want to use signal.
But I don't find any functions about it.
Could any one give me some suggestion.
Thank you.