Re: Thread and process

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

 





>Is it correct that a process gets the full time slice whereas say two
>threads spawned from the main process will get (Process Time Slice) / 3
>(ie 2 threads + 1 main thread) ?  Or do all threads get a process time
>slice?

In Linux, Schedular doesn't b/w process and thread. Both will get same time
slice as both
are same in Linux. Other system might implement it the way, you suggested


Regards,
Anil.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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