Quantcast
Channel: How is fairness of thread scheduling ensured across processes? - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by David Schwartz for How is fairness of thread scheduling ensured...

Does it also take into account which Process a particular thread belong to? Otherwise, it seems too easy for a process to hog all the CPU by creating more threads. Wrong question. Consider two jobs...

View Article



Answer by Brendan for How is fairness of thread scheduling ensured across...

In general, "fair thread scheduling" attempts to give each thread an equal amount of CPU time (regardless of how much CPU time all threads in a process get); and "fair process scheduling" attempts to...

View Article

Answer by user3344003 for How is fairness of thread scheduling ensured across...

If the thread is the basic unit of scheduling (a generally safe assumption these days) then the process scheduler is the one to decide who to allocate the CPUs. How (and whether) it takes thread usage...

View Article

How is fairness of thread scheduling ensured across processes?

Every process has at least one thread of execution and I read somewhere that modern Operating Systems only schedule Thread and not process. So if there are two processes running in the system - P1...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images