Wednesday 17 April 2013

Multitasking vs Multithreading or Advantages of Multithreading over Multitasking


Advantages of Multithreading:

  • Reduces the computation time.
  • Improves performance of an application.
  • Threads share the same address space so it saves the memory.
  • Context switching between threads is usually less expensive than between processes. 
  • Cost of communication between threads is relatively low.

No comments:

Post a Comment