Re: A small change in the scheduler

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

 



On 5/30/05, Karane Mariano Vieira <karane@xxxxxxxxx> wrote:
> I´d like to know:
>  - the exactly moment (in the code) the a task receives its timeslice
>  - Is there any differency between the code which deal with processes
> and threads
> ()
> 
> --
> Karane.
 
AFAIK from the kernel perspective there's only the concept of a
process (i.e. a task_struct). However, when you fork processes one can
control how much of the parent's internals is to be inherited, such as
the vm mapping, open files, signals etc. such that you can adjust
between a completely new process fork and a lightweight thread that
shares a lot with parent.

Bahadir

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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