When the task state becomes TARK_RUNNING, at that moment it starts getting timeslices. Threads means what?? kernel thread or the threads that are executing in process address space?? Anurag --- Karane Mariano Vieira <karane@xxxxxxxxx> wrote: > Hi All > > I would like to change the way the scheduler delivers the timeslices, > it is the goal of a small homework in my university. > > 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. > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/