mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [q] how to make sure a process is not on CPU?
@ 2005-10-08  3:45 Coywolf Qi Hunt
  2005-10-09 10:01 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Coywolf Qi Hunt @ 2005-10-08  3:45 UTC (permalink / raw)
  To: lkml

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [q] how to make sure a process is not on CPU?
  2005-10-08  3:45 [q] how to make sure a process is not on CPU? Coywolf Qi Hunt
@ 2005-10-09 10:01 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2005-10-09 10:01 UTC (permalink / raw)
  To: Coywolf Qi Hunt; +Cc: lkml

Hi!

> 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
-- 
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-09 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-08  3:45 [q] how to make sure a process is not on CPU? Coywolf Qi Hunt
2005-10-09 10:01 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®