Differences between Multi Threading and Multi Tasking.

Differences between multi threading and multi tasking.

Multi threading
Multi tasking.
® A program is divided in to 2 or more sub programs or threads that are executed at the same time in parallel.
®Thread is a light weight process.
®It supports execution of multiple parts of a single program simultaneously.
®It helps in developing efficient programs.
®It is an operating system concept in which multiple tasks are performed simultaneously.
®Program is heavy weight.
®It supports execution of multiple programs simultaneously.
®It helps in developing efficient operating system.

      Process
   Program
®Program under execution is called process
®Process always resides in main memory.
®Process exists only for limited time.
®Set of instructions is called program

®Program always resides in secondary memory.
®Program exists for long time.


Related

Java 2485304117090472907

Post a Comment

emo-but-icon

item