Subject: make proc_stop kernel-public
To: None <>
From: Emmanuel Dreyfus <>
List: tech-kern
Date: 11/15/2003 00:51:19

With LWP, the logic for stopping or resuming a process has grown fairly
complex. It's a bit painful to rewrite everything each time it is
needed. What about making proc_stop public within the kernel for that
purpose (for now it's static in kern_sig.c)?

But there is one problem with proc_stop: it really don't want LWP in
IDLE and STOP states (it will panic for that if DIAGNOSTIC is set).
Maybe we could allow proc_stop to fail and return an error code?

Emmanuel Dreyfus
Il y a 10 sortes de personnes dans le monde: ceux qui comprennent 
le binaire et ceux qui ne le comprennent pas.