Re: What's the meaning of a stopped process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi :)

On Wed, Aug 25, 2010 at 00:11, Parmenides <mobile.parmenides@xxxxxxxxx> wrote:
> AFAIK, there is no a status which indicates a process paused. How does
> kernel deal with a paused process? Or, any other ways to implement a
> paused process?
>

Please don't do top posting :)

Status? Uhm..have you check top or ps? in ps, IIRC, it's marked as "T"


How does the kernel deal with stopped one? Not sure what you mean
here.... you mean how to kick them out of scheduler? simple, at the
earliest moment.....either they're going to be scheduled out....or
returning from interrupt handler etc, they're brought out of running
run queue into another (separate) queue.

When you SIGCONT them, it will be brought into runqueue and marked as
"ready to run" :)

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux