1

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 ?

vjain27
  • 3,324
  • 8
  • 38
  • 56

1 Answers1

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.

Community
  • 1
  • 1
Jeff
  • 1,697
  • 1
  • 14
  • 17