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

Explain how do you access the records randomly in tsq?

594


For protecting a transaction using the transaction security function, the two things that must be done are?

1802


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

627


what are the differences between and exec cics xctl and an exec cics link command?

702


what is the differences between getting the system time with eibtime and asktime command?

585






What is interval control?

600


Explain cedf transaction commands?

625


Explain the cics command that is used for reading a record from the tdq?

551


Explain how do you establish a starting position in a browse operation?

572


Can you explain cics translator?

601


How to establish dynamic cursor position on a map?

581


What is the use of the program list table?

622


Kindly specify the pic clause for the hhmmss type of data fields?

651


In the EIB block of CICS, highlight the names of few of the important fields?

580


What is the meaning of the deq command?

607