Skip to contentSkip to conversation

how to make sure a process is not on CPU?

q Coywolf Qi Hunt 2 participants 2 messages Oct 8, 2005 – Oct 9, 2005

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw

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