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,514
  • 9
  • 41
  • 60

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,807
  • 1
  • 15
  • 17