1- What is Multitasking?
It is the concept of executing several tasks simultaneously.
There are two types of multitasking.
a. Process based Multitasking
b. Thread based Multitasking
2-What is process based multitasking?
Executing several tasks simultaneously where each tasks is a separate independent program(Process) is called process based multitasking. Each program execute in a separate memory block. So process based multitasking is also known as heavy weight multitasking. Process based multitasking is best suitable at OS level.
example- While typing a java program in the editor we can listen audio songs from same system at the same time we can download some files from internet. All tasks will be executed simultaneously and independent of each other.
3-What is thread based multitasking?
Executing several tasks simultaneously where each tasks is a separate independent part of the same process is called as a thread based multitasking and independent part is called as a thread.
Thread based multitasking is best suitable at programmatic level.
The main advantage of multitasking is to reduce response time of system and improve performance.
Main important application area of multi-threading to develop
a. Multimedia graphics
b. Animations
c. Video games
d. Web server and app server
example-Microsoft worldpad, While typing some text on editor the spell checker program also execute simultaneously.
No comments:
Post a Comment