how to make sure a process is not on CPU?
Hello,
I'm trying to manipulate a process, I must make sure not only the process won't go away under me, also it is not on CPU, and it'll return from schedule() at lease once.
Any thoughts?
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
Hi!
Quoted 5 lines
I'm trying to manipulate a process, I must make sure not only the process won't go away under me, also it is not on CPU, and it'll return from
schedule()at lease once.Any thoughts?
See kernel/power/process.c
Signature · 1 line
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms