What is multitasking and multithreading?

Answer Posted / cheran pogu

Multitasking is similar to multiprogramming. in fact the
difference between multiprogramming and multitasking is
subtle. Multiprogramming means that the operating system
allows several programs to execute at the same time.

Multitasking means that a program running in a single
partition or region allows multiple tasks to execute
simultaneously. A task is an execution of a program or
programs for a specific user Eg. if user 1 is running PGM A
then user1 has created a task.

Multithreading is the system environment where the tasks
are sharing the same program under the multitasking
environment.Multithreading is a subset of
multitasking,since it concersn tasks which use the same
program.

Under the multithreading environment, a program is shared
by several tasks concurrently. For each task, the program
must work as if it were executing instructions exclusively
for each task.Therefore, it requires special considerations
such as reentrancy.

Is This Answer Correct ?    19 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cics load command?

747


difference between tsq and tdq?

970


Explain the difference between intra partition tdq and extra partition tdq?

793


Explain processing program table(ppt)?

849


What is the pic clause for the any bll cell type of data fields?

788


Explain cebr transaction commands?

774


hi,what is the module? how many modules in mainframe based banking projects

2645


Explain the difference between a physical bms mapset and a logical bms mapset?

766


Can you explain cics translator?

798


name the command that is used to dump the main storage areas related to a task?

841


Explain the difference between the xctl and link commands?

710


if i am having a cics,vsam and db2 programs with each functions and i want that each function on screen?

2000


Explain difference between call and link?

770


What is the term conversational programs means?

759


Name the cics command used to access current date and time?

783