c - Time to stop a Linux process using SIGSTOP -
i stopping shell script running, c program. code below: kill(pid, sigstop); wanted know there kernel related delay shell script stopped.
in other words worst case sigstop stop process? there similar delay sigcont ?
kill
asynchronous. means time takes unbounded in general. if system heavily loaded, example, take longer. there no bound work 100% of time, if target process otherwise idle.
you must design applications such kill
can take arbitrarily long; must not care how long takes. if provide more details why care, can give suggestions how fix that.
Comments
Post a Comment