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/