How to stop thread group of a process?

From: Hua Feijun
Date: Wed Dec 21 2005 - 04:25:15 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/