I was just wondering how much efficient is thread context switch as compared to process context-switch. Both involve switching of register values. Is Flushing of TLB in process switch the only thing that creates the difference ?
Asked
Active
Viewed 1,188 times
1
-
1What OS are you referring to? – Jeff Apr 01 '11 at 08:01
-
Does the OS matter? I have read that thread switch is always faster than a process context switch. – vjain27 Apr 01 '11 at 08:24
1 Answers
1
On Linux, they are very close to the same thing. See Threads vs Processes in Linux. In Windows, processes are a lot heavier than threads.